Re: Linker error building SW with OpenSSL 1.1.1W on RHEL8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On 29/12/2023 22:56, Fox, Shawn D (US) via openssl-users wrote:

I have built openssl v1.1.1w from source on the RHEL8 OS using the GCC12 toolset.  The command to configure looks like this and then gmake install used to build and install.

./config --prefix=/data/${USER}/repos/tp/openssl-1.1.1w-install/release

 

/data/${USER}/repos/tp/openssl-1.1.1w is the directory containing the extracted source and configuration files.

 

So that worked fine and binaries were produced. However, when I try to build my own applications specifying /data/${USER}/repos/tp/openssl-1.1.1w-install/release/lib as the location of the libraries then I am seeing linker errors such as:

 

/opt/rh/gcc-toolset-12/root/usr/libexec/gcc/x86_64-redhat-linux/12/ld: /lib64/libk5crypto.so.3: undefined reference to `EVP_KDF_CTX_free@OPENSSL_1_1_1b'

 


the library /lib64/libk5crypto.so.3 is part of `krb5-libs` ; most likely you ended up with a Kerberos-enabled build which links to the system krb5 libs which in turn link to the system (openssl 1.1.1b) libraries). 
Try rebuilding openssl 1.1.1w without support for Kerberos - or , if you really need that, rebuild krb5-libs as well and link against your version of OpenSSL 1.1.1w.

HTH,

JJK


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux