Open CactiChameleon9 opened 3 years ago
We are using in the cmd an old version in the of the redis module, so go get is ignoring the version defined in the cmd. did you update them?
Sorry, but I literary have both clue what you mean. I know nothing about go (yet). All I did was install go and ran the go get command suggested
@CactiChameleon9 Same problem here. After 'go get' fails you can do following:
cd $GOPATH/src/github.com/signal-golang/textsecure/cmd/textsecure
go install
You can find the textsecure executable in $GOPATH/bin
Somehow your installation of go is not respecting the go.mod file, the support was introduced with go 1.12 and is standard in 1.13. My go version is 1.15.5 can you check that?
my go version is 1.15.6 but you are right, my installation is not respecting the go.mod file
GO111MODULE=on go get github.com/signal-golang/textsecure/cmd/textsecure
works just fine
its strange, echo $GO111MODULE returns nothing
Hi, also problems with the go get
...
OS: Monterey 12.1 Go: Installed with brew, version 1.17.6
╰─$ go version 2 ↵
go version go1.17.6 darwin/amd64
Problem is when running go get
:
╰─$ go get github.com/signal-golang/textsecure/cmd/textsecure
go get: installing executables with 'go get' in module mode is deprecated.
Use 'go install pkg@version' instead.
For more information, see https://golang.org/doc/go-get-install-deprecation
or run 'go help get' or 'go help install'.
# github.com/signal-golang/textsecure/crayfish
pkg/mod/github.com/signal-golang/textsecure@v1.7.1/crayfish/backend.go:184:3: unknown field 'Pdeathsig' in struct literal of type syscall.SysProcAttr
# github.com/nanu-c/zkgroup
Undefined symbols for architecture x86_64:
"_FFI_AuthCredentialPresentation_checkValidContents", referenced from:
__cgo_00a37fea2984_Cfunc_FFI_AuthCredentialPresentation_checkValidContents in _x002.o
(maybe you meant: __cgo_00a37fea2984_Cfunc_FFI_AuthCredentialPresentation_checkValidContents)
"_FFI_AuthCredentialPresentation_getRedemptionTime", referenced from:
__cgo_00a37fea2984_Cfunc_FFI_AuthCredentialPresentation_getRedemptionTime in _x002.o
(maybe you meant: __cgo_00a37fea2984_Cfunc_FFI_AuthCredentialPresentation_getRedemptionTime)
"_FFI_AuthCredentialPresentation_getUuidCiphertext", referenced from:
__cgo_00a37fea2984_Cfunc_FFI_AuthCredentialPresentation_getUuidCiphertext in _x002.o
(maybe you meant: __cgo_00a37fea2984_Cfunc_FFI_AuthCredentialPresentation_getUuidCiphertext)
"_FFI_AuthCredentialResponse_checkValidContents", referenced from:
__cgo_00a37fea2984_Cfunc_FFI_AuthCredentialResponse_checkValidContents in _x002.o
(maybe you meant: __cgo_00a37fea2984_Cfunc_FFI_AuthCredentialResponse_checkValidContents)
"_FFI_AuthCredential_checkValidContents", referenced from:
__cgo_00a37fea2984_Cfunc_FFI_AuthCredential_checkValidContents in _x002.o
(maybe you meant: __cgo_00a37fea2984_Cfunc_FFI_AuthCredential_checkValidContents)
"_FFI_GroupPublicParams_getGroupIdentifier", referenced from:
__cgo_00a37fea2984_Cfunc_FFI_GroupPublicParams_getGroupIdentifier in _x005.o
(maybe you meant: __cgo_00a37fea2984_Cfunc_FFI_GroupPublicParams_getGroupIdentifier)
"_FFI_GroupSecretParams_decryptBlob", referenced from:
__cgo_00a37fea2984_Cfunc_FFI_GroupSecretParams_decryptBlob in _x003.o
(maybe you meant: __cgo_00a37fea2984_Cfunc_FFI_GroupSecretParams_decryptBlob)
"_FFI_GroupSecretParams_decryptProfileKey", referenced from:
__cgo_00a37fea2984_Cfunc_FFI_GroupSecretParams_decryptProfileKey in _x003.o
(maybe you meant: __cgo_00a37fea2984_Cfunc_FFI_GroupSecretParams_decryptProfileKey)
"_FFI_GroupSecretParams_decryptUuid", referenced from:
__cgo_00a37fea2984_Cfunc_FFI_GroupSecretParams_decryptUuid in _x003.o
(maybe you meant: __cgo_00a37fea2984_Cfunc_FFI_GroupSecretParams_decryptUuid)
"_FFI_GroupSecretParams_deriveFromMasterKey", referenced from:
__cgo_00a37fea2984_Cfunc_FFI_GroupSecretParams_deriveFromMasterKey in _x005.o
(maybe you meant: __cgo_00a37fea2984_Cfunc_FFI_GroupSecretParams_deriveFromMasterKey)
"_FFI_GroupSecretParams_encryptBlobDeterministic", referenced from:
__cgo_00a37fea2984_Cfunc_FFI_GroupSecretParams_encryptBlobDeterministic in _x003.o
(maybe you meant: __cgo_00a37fea2984_Cfunc_FFI_GroupSecretParams_encryptBlobDeterministic)
"_FFI_GroupSecretParams_encryptUuid", referenced from:
__cgo_00a37fea2984_Cfunc_FFI_GroupSecretParams_encryptUuid in _x003.o
(maybe you meant: __cgo_00a37fea2984_Cfunc_FFI_GroupSecretParams_encryptUuid)
"_FFI_GroupSecretParams_generateDeterministic", referenced from:
__cgo_00a37fea2984_Cfunc_FFI_GroupSecretParams_generateDeterministic in _x005.o
(maybe you meant: __cgo_00a37fea2984_Cfunc_FFI_GroupSecretParams_generateDeterministic)
"_FFI_GroupSecretParams_getMasterKey", referenced from:
__cgo_00a37fea2984_Cfunc_FFI_GroupSecretParams_getMasterKey in _x005.o
(maybe you meant: __cgo_00a37fea2984_Cfunc_FFI_GroupSecretParams_getMasterKey)
"_FFI_GroupSecretParams_getPublicParams", referenced from:
__cgo_00a37fea2984_Cfunc_FFI_GroupSecretParams_getPublicParams in _x005.o
(maybe you meant: __cgo_00a37fea2984_Cfunc_FFI_GroupSecretParams_getPublicParams)
"_FFI_ProfileKeyCredentialPresentation_checkValidContents", referenced from:
__cgo_00a37fea2984_Cfunc_FFI_ProfileKeyCredentialPresentation_checkValidContents in _x006.o
(maybe you meant: __cgo_00a37fea2984_Cfunc_FFI_ProfileKeyCredentialPresentation_checkValidContents)
"_FFI_ProfileKeyCredentialPresentation_getProfileKeyCiphertext", referenced from:
__cgo_00a37fea2984_Cfunc_FFI_ProfileKeyCredentialPresentation_getProfileKeyCiphertext in _x002.o
(maybe you meant: __cgo_00a37fea2984_Cfunc_FFI_ProfileKeyCredentialPresentation_getProfileKeyCiphertext)
"_FFI_ProfileKeyCredentialPresentation_getUuidCiphertext", referenced from:
__cgo_00a37fea2984_Cfunc_FFI_ProfileKeyCredentialPresentation_getUuidCiphertext in _x006.o
(maybe you meant: __cgo_00a37fea2984_Cfunc_FFI_ProfileKeyCredentialPresentation_getUuidCiphertext)
"_FFI_ProfileKeyCredentialRequestContext_getRequest", referenced from:
__cgo_00a37fea2984_Cfunc_FFI_ProfileKeyCredentialRequestContext_getRequest in _x006.o
(maybe you meant: __cgo_00a37fea2984_Cfunc_FFI_ProfileKeyCredentialRequestContext_getRequest)
"_FFI_ProfileKeyCredentialResponse_checkValidContents", referenced from:
__cgo_00a37fea2984_Cfunc_FFI_ProfileKeyCredentialResponse_checkValidContents in _x006.o
(maybe you meant: __cgo_00a37fea2984_Cfunc_FFI_ProfileKeyCredentialResponse_checkValidContents)
"_FFI_ProfileKey_getCommitment", referenced from:
__cgo_00a37fea2984_Cfunc_FFI_ProfileKey_getCommitment in _x006.o
(maybe you meant: __cgo_00a37fea2984_Cfunc_FFI_ProfileKey_getCommitment)
"_FFI_ProfileKey_getProfileKeyVersion", referenced from:
__cgo_00a37fea2984_Cfunc_FFI_ProfileKey_getProfileKeyVersion in _x006.o
(maybe you meant: __cgo_00a37fea2984_Cfunc_FFI_ProfileKey_getProfileKeyVersion)
"_FFI_ServerPublicParams_checkValidContents", referenced from:
__cgo_00a37fea2984_Cfunc_FFI_ServerPublicParams_checkValidContents in _x007.o
(maybe you meant: __cgo_00a37fea2984_Cfunc_FFI_ServerPublicParams_checkValidContents)
"_FFI_ServerPublicParams_createAuthCredentialPresentationDeterministic", referenced from:
__cgo_00a37fea2984_Cfunc_FFI_ServerPublicParams_createAuthCredentialPresentationDeterministic in _x003.o
(maybe you meant: __cgo_00a37fea2984_Cfunc_FFI_ServerPublicParams_createAuthCredentialPresentationDeterministic)
"_FFI_ServerPublicParams_createProfileKeyCredentialPresentationDeterministic", referenced from:
__cgo_00a37fea2984_Cfunc_FFI_ServerPublicParams_createProfileKeyCredentialPresentationDeterministic in _x007.o
(maybe you meant: __cgo_00a37fea2984_Cfunc_FFI_ServerPublicParams_createProfileKeyCredentialPresentationDeterministic)
"_FFI_ServerPublicParams_createProfileKeyCredentialRequestContextDeterministic", referenced from:
__cgo_00a37fea2984_Cfunc_FFI_ServerPublicParams_createProfileKeyCredentialRequestContextDeterministic in _x006.o
(maybe you meant: __cgo_00a37fea2984_Cfunc_FFI_ServerPublicParams_createProfileKeyCredentialRequestContextDeterministic)
"_FFI_ServerPublicParams_receiveAuthCredential", referenced from:
__cgo_00a37fea2984_Cfunc_FFI_ServerPublicParams_receiveAuthCredential in _x003.o
(maybe you meant: __cgo_00a37fea2984_Cfunc_FFI_ServerPublicParams_receiveAuthCredential)
"_FFI_ServerPublicParams_receiveProfileKeyCredential", referenced from:
__cgo_00a37fea2984_Cfunc_FFI_ServerPublicParams_receiveProfileKeyCredential in _x007.o
(maybe you meant: __cgo_00a37fea2984_Cfunc_FFI_ServerPublicParams_receiveProfileKeyCredential)
"_FFI_ServerPublicParams_verifySignature", referenced from:
__cgo_00a37fea2984_Cfunc_FFI_ServerPublicParams_verifySignature in _x007.o
(maybe you meant: __cgo_00a37fea2984_Cfunc_FFI_ServerPublicParams_verifySignature)
"_FFI_ServerSecretParams_generateDeterministic", referenced from:
__cgo_00a37fea2984_Cfunc_FFI_ServerSecretParams_generateDeterministic in _x007.o
(maybe you meant: __cgo_00a37fea2984_Cfunc_FFI_ServerSecretParams_generateDeterministic)
"_FFI_ServerSecretParams_getPublicParams", referenced from:
__cgo_00a37fea2984_Cfunc_FFI_ServerSecretParams_getPublicParams in _x007.o
(maybe you meant: __cgo_00a37fea2984_Cfunc_FFI_ServerSecretParams_getPublicParams)
"_FFI_ServerSecretParams_issueAuthCredentialDeterministic", referenced from:
__cgo_00a37fea2984_Cfunc_FFI_ServerSecretParams_issueAuthCredentialDeterministic in _x007.o
(maybe you meant: __cgo_00a37fea2984_Cfunc_FFI_ServerSecretParams_issueAuthCredentialDeterministic)
"_FFI_ServerSecretParams_issueProfileKeyCredentialDeterministic", referenced from:
__cgo_00a37fea2984_Cfunc_FFI_ServerSecretParams_issueProfileKeyCredentialDeterministic in _x007.o
(maybe you meant: __cgo_00a37fea2984_Cfunc_FFI_ServerSecretParams_issueProfileKeyCredentialDeterministic)
"_FFI_ServerSecretParams_signDeterministic", referenced from:
__cgo_00a37fea2984_Cfunc_FFI_ServerSecretParams_signDeterministic in _x007.o
(maybe you meant: __cgo_00a37fea2984_Cfunc_FFI_ServerSecretParams_signDeterministic)
"_FFI_ServerSecretParams_verifyAuthCredentialPresentation", referenced from:
__cgo_00a37fea2984_Cfunc_FFI_ServerSecretParams_verifyAuthCredentialPresentation in _x007.o
(maybe you meant: __cgo_00a37fea2984_Cfunc_FFI_ServerSecretParams_verifyAuthCredentialPresentation)
"_FFI_ServerSecretParams_verifyProfileKeyCredentialPresentation", referenced from:
__cgo_00a37fea2984_Cfunc_FFI_ServerSecretParams_verifyProfileKeyCredentialPresentation in _x007.o
(maybe you meant: __cgo_00a37fea2984_Cfunc_FFI_ServerSecretParams_verifyProfileKeyCredentialPresentation)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Running the following command
go get github.com/signal-golang/textsecure/cmd/textsecure
I get an output of:Is there another way I am supposed to be using the library?