Nikos Mavrogiannopoulos wrote: > On 06/07/2013 10:05 PM, Marco Maggi wrote:
>> Nikos Mavrogiannopoulos wrote: >>> Do you have in /usr/lib64, any .la files? >> Yes, the Slackware packages include the .la files of the >> original distributions; I think the relevant ones are: >> /usr/lib64/libp11-kit.la >> /usr/lib64/libgmp.la >> /usr/lib64/libgnutls.la >> the latest Slackware comes with Gnutls 3.0.23. > My Debian doesn't ship those files, so could it be them that prohibit > the correct linkage? Indeed, this appears to be the problem. If I (temporarily) remove *all* the .la files from /usr/lib64 then build Gnutls: everything works and, after installation: $ ldd /usr/local/lib/libgnutls.so linux-vdso.so.1 (0x00007fff437ff000) libz.so.1 => /usr/lib64/libz.so.1 (0x00007fc9247c2000) libp11-kit.so.0 => /usr/lib64/libp11-kit.so.0 (0x00007fc9245b0000) libtasn1.so.6 => /usr/local/lib/libtasn1.so.6 (0x00007fc92439d000) libnettle.so.4 => /usr/local/lib/libnettle.so.4 (0x00007fc92416c000) libhogweed.so.2 => /usr/local/lib/libhogweed.so.2 (0x00007fc923f3d000) libc.so.6 => /lib64/libc.so.6 (0x00007fc923b4f000) libdl.so.2 => /lib64/libdl.so.2 (0x00007fc92394b000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fc92372e000) libgmp.so.10 => /usr/local/lib/libgmp.so.10 (0x00007fc9234b6000) /lib64/ld-linux-x86-64.so.2 (0x00007fc924ce5000) Fine. But I am unable to find *which* .la files cause problems; if I remove only: libgmp.la libgmpxx.la libgnutls.la libgnutls-openssl.la libgnutlsxx.la libp11-kit.la the build fails. Are there other .la files relevant to Gnutls? Notice that (with all the .la files in their place): $ ls -1 /usr/lib64/libgnutls*.la /usr/lib64/libgnutls-openssl.la /usr/lib64/libgnutls.la /usr/lib64/libgnutlsxx.la $ ls -1 /usr/lib64/libtasn*.la /usr/lib64/libtasn*.la: No such file or directory $ ls -1 /usr/lib64/libgmp*.la /usr/lib64/libgmp.la /usr/lib64/libgmpxx.la $ ls -1 /usr/lib64/libp11*.la /usr/lib64/libp11-kit.la -- "Now feel the funk blast!" Rage Against the Machine - "Calm like a bomb" _______________________________________________ Gnutls-help mailing list [email protected] http://lists.gnupg.org/mailman/listinfo/gnutls-help
