Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libor-crypto.a linker error on MacOS with enable-debug flag #352

Closed
riordant opened this issue Feb 8, 2019 · 2 comments
Closed

libor-crypto.a linker error on MacOS with enable-debug flag #352

riordant opened this issue Feb 8, 2019 · 2 comments
Assignees

Comments

@riordant
Copy link
Contributor

riordant commented Feb 8, 2019

Steps to reproduce:
./configure --enable-debug
make

output:

Undefined symbols for architecture x86_64:
  "_libscrypt_scrypt", referenced from:
      _secret_to_key_compute_key in libor-crypto.a(crypto_s2k.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

On MacOS 10.13.4

@psolstice
Copy link
Contributor

psolstice commented Feb 8, 2019

Works fine for me on 10.14.3, latest Xcode

$ brew list
autoconf	cabextract	icu4c		libtool		openssl		protobuf	qrencode	sphinx-doc	winetricks
automake	cmake		iperf		makedepend	p7zip		python		qt		sqlite		xz
berkeley-db@4	coreutils	libevent	miniupnpc	pcre		python3		readline	unrar		zsh
boost		gdbm		libpng		ncurses		pkg-config	python@2	smartmontools	wine

@riordant
Copy link
Contributor Author

Was a system-specific issue.
I'm not sure what the exact cause was, but removing and reinstalling brew fixed it for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants