[Samba] Compiling gets undefined reference by tls.c

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


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 
default/source4/lib/tls/tls_tstream_1.o: In function 
tls_tstream.c:(.text+0x2014): undefined reference to 
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 
-> libauthkrb5-samba4.so}
make: *** [all] Error 1

More information about the samba mailing list