[Samba] Compiling 3.2.4 --with-krb5=/usr/lib/krb5, not working
Scott Lovenberg
scott.lovenberg at gmail.com
Sun Oct 5 01:09:57 GMT 2008
Jake Carroll wrote:
> Hi all,
>
> I'm currently attempting to compile Samba 3.2.4 for Solaris 10 x86. I
> require krb5 support and I realised that it would not look in the
> correct default location, under Solaris 10.
>
> Example, from ./configure --help:
>
> --with-krb5=base-dir Locate Kerberos 5 support (default=/usr)
>
> In vanilla Solaris 10 x86, Kerberos libraries are stored in
> /usr/lib/krb5. I thought it best to attempt to specifically, rather,
> explicitly state the base dir like so, because using the default is
> not working:
>
> ./configure --with-aio-support --with-krb5=/usr/lib/krb5
>
> I felt that this would give the linker/compiler the best chance of
> finding what it needed. Apparently, this is not the case. When I look
> in the config.log:
>
> configure:55103: checking for Active Directory and krb5 support
> KRB5CONFIG=''
> KRB5_LIBS=''
> WINBIND_KRB5_LOCATOR=''
>
> So then, if we do a "make"
>
> # less config.h | grep -i krb
> /* Whether the krb5_address struct has a addrtype property */
> /* #undef HAVE_ADDRTYPE_IN_KRB5_ADDRESS */
> /* Whether the krb5_address struct has a addr_type property */
> /* #undef HAVE_ADDR_TYPE_IN_KRB5_ADDRESS */
> /* Whether the krb5_checksum struct has a checksum property */
> /* #undef HAVE_CHECKSUM_IN_KRB5_CHECKSUM */
>
>
> ...all left untouched.
>
> Any thoughts? The libraries are definitely and obviously there:
>
> root at somesambahost:/usr/lib/krb5] $ ls -als
> total 3338
> 2 drwxr-xr-x 4 root bin 1024 May 3 10:15 .
> 64 drwxr-xr-x 122 root bin 32256 Aug 16 20:57 ..
> 2 -r--r--r-- 1 root bin 700 Jan 22 2005 HelpIndex.html
> 2 drwxr-xr-x 2 root bin 512 May 3 10:15
> ListResourceBundle
> 2 -r--r--r-- 1 root bin 412 Jan 22 2005 README.db2
> 4 -r--r--r-- 1 root bin 1962 Jan 22 2005 SunLogo.4c.gif
> 2 drwxr-xr-x 2 root bin 512 May 3 10:15 amd64
> 2 lrwxrwxrwx 1 root root 8 May 3 10:15 db2.so ->
> db2.so.1
> 144 -rwxr-xr-x 1 root bin 73088 Mar 19 2008 db2.so.1
> 416 -r--r--r-- 1 root bin 204145 Mar 12 2008 gkadmin.jar
> 122 -r-x------ 1 root bin 62100 Mar 19 2008 kadmind
> 2 lrwxrwxrwx 1 root root 10 May 3 10:15 kldap.so ->
> kldap.so.1
> 80 -rwxr-xr-x 1 root bin 40684 Mar 19 2008 kldap.so.1
> 38 -r-xr-xr-x 1 root bin 18488 Mar 19 2008 kprop
> 2 -r-xr-xr-x 1 root bin 300 Jan 22 2005 kprop_script
> 70 -r-xr-xr-x 1 root bin 35136 Mar 19 2008 kpropd
> ....snip.
>
>
> Thanks all.
>
>
> JC
>
Doesn't Solaris have their own version of something like a 'ldconfig'...
I remember having to run it once a year or two ago to get a compile to
function properly (it may have been Samba, I can't recall). I believe
'crle' is the one. Have you tried this already?
More information about the samba
mailing list