openssl cmake module

Raphael Kubo da Costa kubito at gmail.com
Mon Apr 4 20:24:49 CEST 2011


matthias sweertvaegher <matthias.sweertvaegher at gmail.com> writes:

> On Mon, Apr 4, 2011 at 3:16 PM, Raphael Kubo da Costa <kubito at gmail.com> wrote:
>> By taking a quick look at the diff output between KDE's
>> FindOpenSSL.cmake and CMake's FindOpenSSL.cmake, the only relevant
>> difference I can see is that CMake's FindOpenSSL.cmake also looks for
>> libcrypto besides libssl.
>
> that's indeed what I found out but I'm puzzled how you can build my
> plasmoid without having the libcrypto linked in.. actually i make
> cmake output the openssl libraries like this:
> ssl libs = /usr/lib64/libssl.so;/usr/lib64/libcrypto.so
>
> Can you check if it outputs both libraries in your build environment?
> When I use the KDE FindOpenSSL module I only get the libssl and not
> libcrypto. That explains why it does not build on my (suse) system
> unless I remove the KDE version.

I get "ssl libs = /usr/lib/libssl.so", with no mention to libcrypto.so
in it.

ldd does show that libssl.so depends on libcrypto.so here, and readelf
tells me functions such as BIO_read are defined in libcrypto and
referenced in libssl.



More information about the Kde-buildsystem mailing list