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

libcrypto error installing on osx #8

Open
jimbarritt opened this issue Jan 8, 2019 · 1 comment
Open

libcrypto error installing on osx #8

jimbarritt opened this issue Jan 8, 2019 · 1 comment
Labels

Comments

@jimbarritt
Copy link

I got this error when trying pip install bplib OS High Sierra 10.13.6...

clang -bundle -undefined dynamic_lookup -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk build/temp.macosx-10.13-x86_64-2.7/build/temp.macosx-10.13-x86_64-2.7/bplib._bplib.o build/temp.macosx-10.13-x86_64-2.7/bplib/src/bp_fp12.o build/temp.macosx-10.13-x86_64-2.7/bplib/src/bp_fp6.o build/temp.macosx-10.13-x86_64-2.7/bplib/src/bp_g2.o build/temp.macosx-10.13-x86_64-2.7/bplib/src/bp_group.o build/temp.macosx-10.13-x86_64-2.7/bplib/src/bp_map.o build/temp.macosx-10.13-x86_64-2.7/bplib/src/bp_fp2.o build/temp.macosx-10.13-x86_64-2.7/bplib/src/bp_g1.o build/temp.macosx-10.13-x86_64-2.7/bplib/src/bp_g2_mult.o build/temp.macosx-10.13-x86_64-2.7/bplib/src/bp_gt.o -lcrypto -o build/lib.macosx-10.13-x86_64-2.7/bplib/_bplib.so ld: library not found for -lcrypto clang: error: linker command failed with exit code 1 (use -v to see invocation) error: command 'clang' failed with exit status 1

I tried several options (below) for linking the headers and libs from openssl but to no avail, will continue to investigate.

https://stackoverflow.com/questions/8829670/openssl-link-options-lssl-and-lcrypto-in-gcc

https://medium.com/@timmykko/using-openssl-library-with-macos-sierra-7807cfd47892

https://solitum.net/openssl-os-x-el-capitan-and-brew/

@gdanezis
Copy link
Owner

Hey Jim -- are you using openssl 1.0 or 1.1? I just added support for 1.1 (but broken 1.0) :-(

@gdanezis gdanezis added the bug label May 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants