Some compile issues of gnutls 2.6.3 on Solaris

Simon Josefsson simon at
Fri Feb 6 21:02:37 CET 2009

Dagobert Michelsen <dam at> writes:

> Hi Simon,
> Am 21.01.2009 um 22:26 schrieb Simon Josefsson:
>> This was new, thank you.  Should be fixed on trunk.  Please test
>> updated
>> daily build of the 2.6.x trunk (soon to be released):
> Compilation and testing works fine now. However, on installation I get
> libtool: install: warning: relinking `'
> libtool: install: (cd /home/dam/mgar/pkg/gnutls/trunk/work/build-isa-
> sparcv8/gnutls-2.6.4/lib; /bin/bash /home/dam/mgar/pkg/gnutls/trunk/
> work/build-isa-sparcv8/gnutls-2.6.4/libtool  --tag CXX --mode=relink /
> opt/studio/SOS11/SUNWspro/bin/CC -I../includes/ -xO3 -xarch=v8 -I/opt/
> csw/include -no-undefined -version-info 37:5:11 -xarch=v8 -L/opt/csw/
> lib -R/opt/csw/lib/\\\$ISALIST -R/opt/csw/lib -o -
> rpath /opt/csw/lib libgnutlsxx_la-gnutlsxx.lo -lnsl -
> lsocket -inst-prefix-dir /home/dam/mgar/pkg/gnutls/trunk/work/install-
> isa-sparcv8)
> libtool: relink: /opt/studio/SOS11/SUNWspro/bin/CC -G -zdefs -
> -o .libs/   .libs/
> libgnutlsxx_la-gnutlsxx.o   -R/opt/csw/lib -R/opt/csw/lib/\$ISALIST
> -L/
> opt/csw/lib
> -L/home/dam/mgar/pkg/gnutls/trunk/work/install-isa-sparcv8/
> opt/csw/lib -lgnutls -ltasn1 -lz -lgcrypt -lgpg-error -lintl -lnsl -
> lsocket -library=Cstd -library=Crun -lc   -xarch=v8 -xarch=v8
> Undefined                       first referenced
>  symbol                             in file
> gnutls_priority_set                 .libs/libgnutlsxx_la-gnutlsxx.o
> gnutls_priority_set_direct          .libs/libgnutlsxx_la-gnutlsxx.o
> gnutls_openpgp_send_cert            .libs/libgnutlsxx_la-gnutlsxx.o
> ld: fatal: Symbol referencing errors. No output written to .libs/
> libtool: install: error: relink `' with the above
> command before installing it
> gmake[5]: *** [install-libLTLIBRARIES] Error 1
> Please be advised that I don't install .la-files for shared libraries
> (like libassuan etc.)

It looks like -lgnutls is linking to an old version of gnutls that is
installed somewhere else.  Also, the \$ISALIST stuff looks weird, should
it be a complete expanded path?

Perhaps libtool relinking requires the *.la files to be properly
installed.  Try to install them too...  alternatively, make sure the
relink command doesn't link to the old copy of


More information about the Gnutls-devel mailing list