[Pkg-openssl-devel] libssl
Kurt Roeckx
kurt at roeckx.be
Wed May 6 17:13:20 UTC 2015
On Wed, May 06, 2015 at 09:52:29AM +0200, Philippe Demeester wrote:
> Hello,
>
> I have seen with <pkg-config libssl --cflags --libs> that libcrypto has to
> be added.
> Now it's ok
> Shouldn't this be set automatically in the /usr/lib/pkg-config stuff ?
No. The error was that you're using symbols from libcrypto but
not linking to libcrypto. I have no idea what you're doing
exactly, but you might not even be using any of the symbols from
libssl in the first place. If you're making use of libcrypto
you should link to libcrypto, if you're using libssl you should
link to libssl and if you use both you should link to both.
Kurt
More information about the Pkg-openssl-devel
mailing list