----- Original Message -----
> I am trying to build kdelibs. I built openssl with
>
> ./config --prefix=/home/ddoria/bin shared
> make
> make install
>
> Everything seemed to go well.
>
> Then when I run cmake on kdelibs, it seems to find my system version
> of openssl (/usr/...) even though I have /home/ddoria/bin first on
> PATH and /home/ddoria/bin/lib first on LD_LIBRARY_PATH. Why would it

You should not need to set LD_LIBRARY_PATH, ever.

> not find my local build of openssl? I tried to set it manually by
> setting:
>
>  OPENSSL_INCLUDE_DIR              /home/ddoria/bin/include/openssl
>  OPENSSL_LIBRARIES                /home/ddoria/bin/lib64/libssl.so
>
> but when I try to build kdelibs I get:
>
> Linking CXX shared module ../../lib/kio_http.so
> /usr/krb5/lib/libkrb5.a(pkinit_crypto_openssl.o): In function
> `pkinit_decode_data':
> pkinit_crypto_openssl.c:(.text+0x75ea): undefined reference to
> `EVP_PKEY_decrypt_old'
>
> I take this to mean that it is still not using the correct openssl?

Not necessarily, though it's hard to say without seeing the actual
call to the linker.

> Any clues on how to make it use the right one?
>
> Thanks,
>
> David

i

--
Igor Galić

Tel: +43 (0) 664 886 22 883
Mail: i.ga...@brainsware.org
URL: http://brainsware.org/
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to