[Samba] krb5 library issues when Compiling 3.5.2 and 3.4.7 on AIX 5.3

William Jojo w.jojo at hvcc.edu
Sat Apr 17 09:49:05 MDT 2010



---- Original message ----
>Date: Fri, 16 Apr 2010 10:38:09 +0200
>From: Michael Wood <esiotrot at gmail.com>  
>Subject: Re: [Samba] krb5 library issues when Compiling 3.5.2 and 3.4.7 on AIX 5.3  
>To: christoph.beyer at desy.de
>Cc: Samba <samba at lists.samba.org>
>
>Hi
>
>On 16 April 2010 09:59,  <christoph.beyer at desy.de> wrote:
>> Hi,
>>
>> try --with-krb5=/path/to/your/kerberos/installation/root
>
>I suggested this at the bottom of his message and then realised that
>he had done this.
>


The real problem is the ld command will not search for libs that end with .so unless you provide the -brtl option.

BTW, 3.5.2 is available on the site, unless there are features you don't need. :-)

The method of configuring Samba that I use for pWare is:

env CC="gcc -O2 -Wl,-blibpath:/opt/pware/lib:/usr/lib:/lib,-brtl" \
CPPFLAGS="-I/opt/pware/include" \
CFLAGS="-O2 -I/opt/pware/include" \
LDFLAGS="-L/opt/pware/lib " \
./configure --with-acl-support --with-utmp \
--with-ldap --with-krb5=/opt/pware \
--with-libiconv=/opt/pware --with-sendfile-support \
--prefix=/opt/pware --with-syslog --with-quotas \
--with-winbind=yes --with-aio-support=yes --with-automount \
--with-pam --with-acl-support \
--with-static-modules="vfs_aixacl2,vfs_aixacl" \
--with-shared-modules="idmap_rid,idmap_ad,vfs_gpfs,idmap_tdb2" 


Cheers,
Bill


>> or
>>
>> export CPPFLAGS="-I/your/krb/dir/include"
>> export LDFLAGS="$LDFLAGS -L/your/krb/dir/lib"
>
>This might be worth a try.
>
>-- 
>Michael Wood <esiotrot at gmail.com>
>-- 
>To unsubscribe from this list go to the following URL and read the
>instructions:  https://lists.samba.org/mailman/options/samba


More information about the samba mailing list