bplib
bplib copied to clipboard
libcrypto error installing on osx
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/
Hey Jim -- are you using openssl 1.0 or 1.1? I just added support for 1.1 (but broken 1.0) :-(