Date: Mon, 8 Dec 2014 18:16:21 -0800 From: Joseph Olatt <joji@shellx.eskimo.com> To: andrew clarke <mail@ozzmosis.com> Cc: freebsd-questions@freebsd.org Subject: Re: clang compilation issues on FreeBSD 10.1-STABLE Message-ID: <20141209021621.GA22065@shellx.eskimo.com> In-Reply-To: <20141209015649.GA95798@ozzmosis.com> References: <20141209014434.GA11497@shellx.eskimo.com> <20141209015649.GA95798@ozzmosis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 09, 2014 at 12:56:49PM +1100, andrew clarke wrote: > On Mon 2014-12-08 17:44:34 UTC-0800, Joseph Olatt (joji@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. Yes, -lcrypto works. I was using -lssl all along since FreeBSD 8.x. Since EVP headers were under openssl (openssl/evp.h), I had used -lssl and it had worked till now... Thanks for your prompt response and help.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141209021621.GA22065>