[Help-gnutls] can't get libgnutls.so.13 to work

cr4yv3n cr4yv3n at hotmail.com
Fri Jul 10 04:21:37 CEST 2009


Having problems getting gammu to build for Linux. The first time, I got the
following errors:

/usr/lib/gcc/i586-pc-linux-gnu/4.1.1/../../../libcurl.so: undefined
reference to `gnutls_x509_crt_get_dn_by_oid at GNUTLS_1_3'
/usr/lib/gcc/i586-pc-linux-gnu/4.1.1/../../../libcurl.so: undefined
reference to `gnutls_certificate_get_peers at GNUTLS_1_3'
/usr/lib/gcc/i586-pc-linux-gnu/4.1.1/../../../libcurl.so: undefined
reference to `gnutls_x509_crt_import at GNUTLS_1_3'
/usr/lib/gcc/i586-pc-linux-gnu/4.1.1/../../../libcurl.so: undefined
reference to `gnutls_x509_crt_get_dn at GNUTLS_1_3'
/usr/lib/gcc/i586-pc-linux-gnu/4.1.1/../../../libcurl.so: undefined
reference to `gnutls_cipher_get at GNUTLS_1_3'
/usr/lib/gcc/i586-pc-linux-gnu/4.1.1/../../../libcurl.so: undefined
reference to `gnutls_x509_crt_check_hostname at GNUTLS_1_3'
/usr/lib/gcc/i586-pc-linux-gnu/4.1.1/../../../libcurl.so: undefined
reference to `gnutls_x509_crt_get_activation_time at GNUTLS_1_3'
/usr/lib/gcc/i586-pc-linux-gnu/4.1.1/../../../libcurl.so: undefined
reference to `gnutls_deinit at GNUTLS_1_3'
/usr/lib/gcc/i586-pc-linux-gnu/4.1.1/../../../libcurl.so: undefined
reference to `gnutls_check_version at GNUTLS_1_3'
/usr/lib/gcc/i586-pc-linux-gnu/4.1.1/../../../libcurl.so: undefined
reference to `gnutls_session_set_data at GNUTLS_1_3'
/usr/lib/gcc/i586-pc-linux-gnu/4.1.1/../../../libcurl.so: undefined
reference to `gnutls_x509_crt_get_expiration_time at GNUTLS_1_3'
/usr/lib/gcc/i586-pc-linux-gnu/4.1.1/../../../libcurl.so: undefined
reference to `gnutls_record_send at GNUTLS_1_3'
/usr/lib/gcc/i586-pc-linux-gnu/4.1.1/../../../libcurl.so: undefined
reference to `gnutls_global_deinit at GNUTLS_1_3'
/usr/lib/gcc/i586-pc-linux-gnu/4.1.1/../../../libcurl.so: undefined
reference to `gnutls_global_init at GNUTLS_1_3'
/usr/lib/gcc/i586-pc-linux-gnu/4.1.1/../../../libcurl.so: undefined
reference to `gnutls_pk_algorithm_get_name at GNUTLS_1_3'
/usr/lib/gcc/i586-pc-linux-gnu/4.1.1/../../../libcurl.so: undefined
reference to `gnutls_bye at GNUTLS_1_3'
/usr/lib/gcc/i586-pc-linux-gnu/4.1.1/../../../libcurl.so: undefined
reference to `gnutls_certificate_set_verify_flags at GNUTLS_1_3'
/usr/lib/gcc/i586-pc-linux-gnu/4.1.1/../../../libcurl.so: undefined
reference to `gnutls_record_recv at GNUTLS_1_3'
/usr/lib/gcc/i586-pc-linux-gnu/4.1.1/../../../libcurl.so: undefined
reference to `gnutls_x509_crt_deinit at GNUTLS_1_3'
/usr/lib/gcc/i586-pc-linux-gnu/4.1.1/../../../libcurl.so: undefined
reference to `gnutls_strerror at GNUTLS_1_3'
/usr/lib/gcc/i586-pc-linux-gnu/4.1.1/../../../libcurl.so: undefined
reference to `gnutls_x509_crt_get_pk_algorithm at GNUTLS_1_3'
/usr/lib/gcc/i586-pc-linux-gnu/4.1.1/../../../libcurl.so: undefined
reference to `gnutls_set_default_priority at GNUTLS_1_3'
/usr/lib/gcc/i586-pc-linux-gnu/4.1.1/../../../libcurl.so: undefined
reference to `gnutls_cipher_get_name at GNUTLS_1_3'
/usr/lib/gcc/i586-pc-linux-gnu/4.1.1/../../../libcurl.so: undefined
reference to `gnutls_certificate_verify_peers2 at GNUTLS_1_3'
/usr/lib/gcc/i586-pc-linux-gnu/4.1.1/../../../libcurl.so: undefined
reference to `gnutls_x509_crt_get_issuer_dn at GNUTLS_1_3'
/usr/lib/gcc/i586-pc-linux-gnu/4.1.1/../../../libcurl.so: undefined
reference to `gnutls_mac_get at GNUTLS_1_3'
/usr/lib/gcc/i586-pc-linux-gnu/4.1.1/../../../libcurl.so: undefined
reference to `gnutls_certificate_allocate_credentials at GNUTLS_1_3'
/usr/lib/gcc/i586-pc-linux-gnu/4.1.1/../../../libcurl.so: undefined
reference to `gnutls_session_get_data at GNUTLS_1_3'
/usr/lib/gcc/i586-pc-linux-gnu/4.1.1/../../../libcurl.so: undefined
reference to `gnutls_credentials_set at GNUTLS_1_3'
/usr/lib/gcc/i586-pc-linux-gnu/4.1.1/../../../libcurl.so: undefined
reference to `gnutls_compression_get_name at GNUTLS_1_3'
/usr/lib/gcc/i586-pc-linux-gnu/4.1.1/../../../libcurl.so: undefined
reference to `gnutls_x509_crt_get_version at GNUTLS_1_3'
/usr/lib/gcc/i586-pc-linux-gnu/4.1.1/../../../libcurl.so: undefined
reference to `gnutls_transport_set_ptr at GNUTLS_1_3'
/usr/lib/gcc/i586-pc-linux-gnu/4.1.1/../../../libcurl.so: undefined
reference to `gnutls_x509_crt_init at GNUTLS_1_3'
/usr/lib/gcc/i586-pc-linux-gnu/4.1.1/../../../libcurl.so: undefined
reference to `gnutls_handshake at GNUTLS_1_3'
/usr/lib/gcc/i586-pc-linux-gnu/4.1.1/../../../libcurl.so: undefined
reference to `gnutls_certificate_set_x509_key_file at GNUTLS_1_3'
/usr/lib/gcc/i586-pc-linux-gnu/4.1.1/../../../libcurl.so: undefined
reference to `gnutls_certificate_type_set_priority at GNUTLS_1_3'
/usr/lib/gcc/i586-pc-linux-gnu/4.1.1/../../../libcurl.so: undefined
reference to `gnutls_mac_get_name at GNUTLS_1_3'
/usr/lib/gcc/i586-pc-linux-gnu/4.1.1/../../../libcurl.so: undefined
reference to `gnutls_certificate_set_x509_trust_file at GNUTLS_1_3'
/usr/lib/gcc/i586-pc-linux-gnu/4.1.1/../../../libcurl.so: undefined
reference to `gnutls_init at GNUTLS_1_3'
/usr/lib/gcc/i586-pc-linux-gnu/4.1.1/../../../libcurl.so: undefined
reference to `gnutls_certificate_free_credentials at GNUTLS_1_3'
/usr/lib/gcc/i586-pc-linux-gnu/4.1.1/../../../libcurl.so: undefined
reference to `gnutls_compression_get at GNUTLS_1_3'
collect2: ld returned 1 exit status
make[3]: *** [gammu/gammu] Error 1
make[3]: Leaving directory
`/media/SQ004126P01/CS/Python/PhoneTool/gammu-1.25.0/gammu-1.25.0/build-configure'
make[2]: *** [gammu/CMakeFiles/gammu.dir/all] Error 2
make[2]: Leaving directory
`/media/SQ004126P01/CS/Python/PhoneTool/gammu-1.25.0/gammu-1.25.0/build-configure'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/media/SQ004126P01/CS/Python/PhoneTool/gammu-1.25.0/gammu-1.25.0/build-configure'
make: *** [all] Error 2

So, I tried recompiling curl and gnutls. Both built and installed fine. Then
I re-ran ./configure and make and got the same problem. When I try to see if
libgnutls.so.14 is on my system, I get the following:

cr4yv3n at Andromeda /usr/lib $ ls -l libgnutls*
-rw-r--r-- 1 root root 841144 2008-09-23 13:11 libgnutls.a
-rw-r--r-- 1 root root  34098 2008-09-23 13:11 libgnutls-extra.a
-rw-r--r-- 1 root root    987 2008-09-23 13:11 libgnutls-extra.la
lrwxrwxrwx 1 root root     25 2008-09-23 13:11 libgnutls-extra.so ->
libgnutls-extra.so.26.4.5
lrwxrwxrwx 1 root root     25 2008-09-23 13:11 libgnutls-extra.so.26 ->
libgnutls-extra.so.26.4.5
-rwxr-xr-x 1 root root  22176 2008-09-23 13:11 libgnutls-extra.so.26.4.5
-rw-r--r-- 1 root root    903 2008-09-23 13:11 libgnutls.la
-rw-r--r-- 1 root root  45784 2008-09-23 13:11 libgnutls-openssl.a
-rw-r--r-- 1 root root    981 2008-09-23 13:11 libgnutls-openssl.la
lrwxrwxrwx 1 root root     27 2008-09-23 13:11 libgnutls-openssl.so ->
libgnutls-openssl.so.26.4.5
lrwxrwxrwx 1 root root     27 2008-09-23 13:11 libgnutls-openssl.so.26 ->
libgnutls-openssl.so.26.4.5
-rwxr-xr-x 1 root root  37372 2008-09-23 13:11 libgnutls-openssl.so.26.4.5
lrwxrwxrwx 1 root root     19 2008-09-23 13:11 libgnutls.so ->
libgnutls.so.26.4.5
lrwxrwxrwx 1 root root     12 2009-02-06 18:24 libgnutls.so.13 ->
libgnutls.so
lrwxrwxrwx 1 root root     19 2008-09-23 13:11 libgnutls.so.26 ->
libgnutls.so.26.4.5
-rwxr-xr-x 1 root root 507620 2008-09-23 13:11 libgnutls.so.26.4.5
-rw-r--r-- 1 root root  72230 2008-09-23 13:11 libgnutlsxx.a
-rw-r--r-- 1 root root    939 2008-09-23 13:11 libgnutlsxx.la
lrwxrwxrwx 1 root root     21 2008-09-23 13:11 libgnutlsxx.so ->
libgnutlsxx.so.26.4.5
lrwxrwxrwx 1 root root     21 2008-09-23 13:11 libgnutlsxx.so.26 ->
libgnutlsxx.so.26.4.5
-rwxr-xr-x 1 root root  56876 2008-09-23 13:11 libgnutlsxx.so.26.4.5

Says it's there, and yet it STILL doesn't work. I didn't mind that much when
this crashed Amarok, cupsd, and SAMBA because I didn't use some of these,
and for others there were work arounds. But I'm doing a program for work
that I need gammu to work for. I would greatly appreciate any help given.
-- 
View this message in context: http://www.nabble.com/can%27t-get-libgnutls.so.13-to-work-tp24420792p24420792.html
Sent from the Gnu - TLS mailing list archive at Nabble.com.






More information about the Gnutls-help mailing list