[gnutls-devel] [Patch] Fix cipher_openssl_compat linkage

Andreas Metzler ametzler at bebt.de
Sun Aug 14 18:55:59 CEST 2016


Hello,

the linker line for cipher-openssl-compat currently liooks like this:

libtool: link: gcc  -g -O2 /usr/lib/x86_64-linux-gnu/libcrypto.so -Wl,-rpath -Wl,/usr/lib/x86_64-linux-gnu -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/cipher-openssl-compat cipher-openssl-compat.o  -L/usr/lib/x86_64-linux-gnu ../.libs/libutils.a /tmp/GNUTLS/gnutls-3.5.3/lib/.libs/libgnutls.so -lz -lp11-kit -lidn -ltasn1 -lnettle -lhogweed -lgmp ../../gl/.libs/libgnu.a ../../lib/.libs/libgnutls.so


There is no »-Wl,-rpath -Wl,/tmp/GNUTLS/gnutls-3.5.3/lib/.libs« and when
the test is run a locally installed gnutls library in /usr/lib/ will be
used (if available), resulting in test failures if the version differs.

Find attached a patch to fix this.

cu Andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-tests-Fix-cipher_openssl_compat-linkage.patch
Type: text/x-diff
Size: 1082 bytes
Desc: not available
URL: </pipermail/attachments/20160814/fe65997b/attachment.patch>


More information about the Gnutls-devel mailing list