[14504] in Kerberos
Re: krb5 and samba 2.2
daemon@ATHENA.MIT.EDU (Thomas Widmann)
Wed May 30 05:04:38 2001
From: "Thomas Widmann" <thomas.widmann@icn.siemens.de>
To: "Turbo Fredriksson" <turbo@bayour.com>
Cc: <kerberos@MIT.EDU>
Date: Wed, 30 May 2001 11:04:03 +0200
Message-ID: <BGEDIODHBENLENEMBEPAEEBECDAA.thomas.widmann@icn.siemens.de>
MIME-Version: 1.0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
In-Reply-To: <87y9rffcfz.fsf@papadoc.bayour.com>
Hi
* Turbo Fredriksson wrote:
> Quoting "Thomas Widmann" <thomas.widmann@icn.siemens.de>:
>
> > in_tkt_pwd.o(.text+0xca): undefined reference to `krb5_c_string_to_key'
> > init_ctx.o(.text+0x179): undefined reference to `krb5_c_random_seed'
> > init_ctx.o(.text+0x455): undefined reference to `valid_enctype'
> > init_ctx.o(.text+0x6e2): undefined reference to `krb5_string_to_enctype'
> > init_ctx.o(.text+0x815): undefined reference to `valid_enctype'
> > kdc_rep_dc.o(.text+0x6d): undefined reference to `krb5_c_decrypt'
>
> I have no idea where these function should be in. The problem is that it's not
> linking with the correct libraries...
>
> Try to find the correct krb5 lib to link with...
>
> > hst_realm.o(.text+0x143): undefined reference to `__res_search'
> > hst_realm.o(.text+0x201): undefined reference to `__dn_expand'
> > hst_realm.o(.text+0x29d): undefined reference to `__dn_expand'
> > locate_kdc.o(.text+0x999): undefined reference to `__res_search'
> > locate_kdc.o(.text+0xa61): undefined reference to `__dn_expand'
> > locate_kdc.o(.text+0xafd): undefined reference to `__dn_expand'
> > locate_kdc.o(.text+0xd59): undefined reference to `__dn_expand'
>
> These ones I atleast know. They are in 'libresolv' so add a '-lresolv'
> somewhere on the link line....
I found the error. The krb5 package must be compiled with shared libs
enabled. After the recompilation of the krb5 tarball with shared libs
samba 2.2 compiles without any errors.
Thanks for your help.
Regards
Thomas