clang compilation issues on FreeBSD 10.1-STABLE

andrew clarke mail at ozzmosis.com
Tue Dec 9 01:56:59 UTC 2014


On Mon 2014-12-08 17:44:34 UTC-0800, Joseph Olatt (joji at shellx.eskimo.com) wrote:

> /* Begin compile command */
> c++ tt.cpp -lssl
> /* End compile command */
> 
> 
> /* Begin compile error */
> /usr/bin/ld: //lib/libcrypto.so.7: invalid DSO for symbol `EVP_CIPHER_CTX_init' definition
> //lib/libcrypto.so.7: could not read symbols: Bad value
> c++: error: linker command failed with exit code 1 (use -v to see invocation)
> /* End compile error */

It links for me on 10.1-REL if I replace -lssl with -lcrypto.



More information about the freebsd-questions mailing list