[Samba] Compiling gets undefined reference by tls.c

Caesar Samsi cmsamsi at gmail.com
Thu Apr 23 16:18:06 MDT 2015


Hi,

I'm wanting to install the latest Samba 4.2.1 on my LinuxMint 17 / 
Rebecca host.

I have:
1. Followed the HOWTO to get OS and lib dependencies (but seems I'm 
missing something)
2. Run ./configure --enable-gnutls
3. Near the end while linking make halts with an error below.

I'm guessing there is a missing lib as the reference appears unresolved, 
however, which libraries are missing (filenames)?

Thank you, Caesar.

[3605/4085] Linking default/source4/auth/kerberos/libauthkrb5-samba4.so
default/source4/lib/tls/tls_1.o: In function `tls_init_client':
tls.c:(.text+0x1846): undefined reference to 
`gnutls_certificate_type_set_priority'
default/source4/lib/tls/tls_tstream_1.o: In function 
`_tstream_tls_connect_send':
tls_tstream.c:(.text+0x2014): undefined reference to 
`gnutls_certificate_type_set_priority'
collect2: error: ld returned 1 exit status
Waf: Leaving directory `/home/caesar/Downloads/samba-4.2.1/bin'
Build failed:  -> task failed (err #1):
     {task: cc_link 
packet_1.o,tls_1.o,tlscert_1.o,tls_tstream_1.o,gssapi_pac_1.o,kerberos_pac_1.o,kerberos_pac_2.o,krb5_init_context_1.o 
-> libauthkrb5-samba4.so}
make: *** [all] Error 1



More information about the samba mailing list