[gnutls-help] symbol not found... from libnettle

eric.deblon at efit-partners.com eric.deblon at efit-partners.com
Tue Apr 28 13:29:49 CEST 2020


I have compiled gnutls for OmniOS (a Solaris 11 variant).

However, when I ldd libgnutls.so searching for lazy references, I get:

eric at machine:~/gnutls/gnutls/lib/.libs$ ldd -r libgnutls.so
         libsocket.so.1 =>        /lib/64/libsocket.so.1
         libdl.so.1 =>    /lib/64/libdl.so.1
         libgmp.so.10 =>  /usr/lib/64/libgmp.so.10
         libintl.so.1 =>  /lib/64/libintl.so.1
         libgen.so.1 =>   /lib/64/libgen.so.1
         libc.so.1 =>     /lib/64/libc.so.1
         libnsl.so.1 =>   /lib/64/libnsl.so.1
         libmp.so.2 =>    /lib/64/libmp.so.2
         libmd.so.1 =>    /lib/64/libmd.so.1
         symbol not found: nettle_md5_update             (./libgnutls.so)
         symbol not found: nettle_hmac_set_key           (./libgnutls.so)
         symbol not found: nettle_hmac_digest            (./libgnutls.so)
         libm.so.2 =>     /lib/64/libm.so.2

All symbols not found are provided by libnettle.so that is in build  
during the gnutls compilation process.

When I compile another software which depends on libgnutls.so, I can  
add them using -L/blah/blah and -lnettle -lhogweed but I guess it is  
not the way it should work.

And I cannot find why libnettle.so and libhogweed.so are not listed in  
the dynamic dependencies of libgnutls.so.

Any idea?

Many thanks & kind regards,

More information about the Gnutls-help mailing list