samba3 compile failure

John Marshall John.Marshall at riverwillow.com.au
Sat Mar 24 09:44:22 UTC 2007


Vizion wrote:
>  
> 
>> -----Original Message-----
>> From: owner-freebsd-ports at freebsd.org 
>> [mailto:owner-freebsd-ports at freebsd.org] On Behalf Of Vizion
>> Sent: Friday, March 23, 2007 3:37 AM
>> To: ports at freebsd.org
>> Subject: samba3 compile failure
>>
>> Trying to compile samba...
>> Is up with my kerberos?
>> If so I do not know how to fix it :-(
>> If not what??
>> Thanks in advance
>> david
>>
------< snip >------
>> `krb5_principal_get_realm'
>> /usr/lib/libgssapi.so: undefined reference to `krb5_set_error_string'
>> /usr/lib/libgssapi.so: undefined reference to `krb5_make_principal'
>> /usr/lib/libgssapi.so: undefined reference to `krb5_store_keyblock'
>> *** Error code 1
>>
>> Stop in /usr/ports/net/samba3/work/samba-3.0.24/source.
>> *** Error code 1
>>
>> Stop in /usr/ports/net/samba3.
>> [root at dns1 /usr/ports/net/samba3]#       
>>
> Just though I should mention that this freebsd 6.1 system has krb5-1.6 installed. Is this the version of kerberos that is installed by default with 6_1?
> 
> David

If you have installed the MIT Kerberos Port, you need to tell the Samba 
build where to find it...

# cd /usr/ports/net/samba3
# make KRB5_HOME=/usr/local install clean

-- 

Regards,

John Marshall
Systems & Networks Specialist
Riverwillow Pty Ltd
Tel: +61 2 9832 7544
Fax: +61 2 9832 1986
Mob: +61 407 435 204


More information about the freebsd-ports mailing list