(RADIATOR) Authen::Krb5 errors on Panther (OS X.3)

Hugh Irvine hugh at open.com.au
Sat Oct 23 04:28:13 CDT 2004


Hello Mike -

I am running MacOS X 10.3.5 on my machine so I will do some testing and  
let you know what I find.

regards

Hugh


On 23 Oct 2004, at 05:16, Shadow Mike wrote:

> I am trying to set up Radiator using Authen::Krb5 on Panther and I  
> keep on getting the following error when I run radiusd.
>
> dyld: perl Undefined symbols:
> /usr/local/lib/perl5/site_perl/5.8.5/darwin-2level/auto/Authen/Krb5/ 
> Krb5.bundle undefined reference to _krb5_free_address expected to be  
> defined in a dynamic image
> /usr/local/lib/perl5/site_perl/5.8.5/darwin-2level/auto/Authen/Krb5/ 
> Krb5.bundle undefined reference to _krb5_free_enc_tkt_part expected to  
> be defined in a dynamic image
> /usr/local/lib/perl5/site_perl/5.8.5/darwin-2level/auto/Authen/Krb5/ 
> Krb5.bundle undefined reference to _krb5_free_krbhst expected to be  
> defined in a dynamic image
> /usr/local/lib/perl5/site_perl/5.8.5/darwin-2level/auto/Authen/Krb5/ 
> Krb5.bundle undefined reference to _krb5_gen_portaddr expected to be  
> defined in a dynamic image
> /usr/local/lib/perl5/site_perl/5.8.5/darwin-2level/auto/Authen/Krb5/ 
> Krb5.bundle undefined reference to _krb5_gen_replay_name expected to  
> be defined in a dynamic image
> /usr/local/lib/perl5/site_perl/5.8.5/darwin-2level/auto/Authen/Krb5/ 
> Krb5.bundle undefined reference to _krb5_get_krbhst expected to be  
> defineda dynamic image
> /usr/local/lib/perl5/site_perl/5.8.5/darwin-2level/auto/Authen/Krb5/ 
> Krb5.bundle undefined reference to _krb5_init_ets expected to be  
> defined in a dynamic image
> Trace/BPT trap
>
>
> After hours of googling I've found a reoccurring theme that perl in  
> Panther is still a little buggy.  Of the suggestions I've seen I've  
> tried most of them and have re-imaged my test computer countless  
> times.  It seems that Panther was shipped with a test version of Perl  
> and never updated before being sent to the CD people.
>
> Reinstalling the latest version of perl left things really confused  
> because there was now 2 versions of perl on the computer.  So in my  
> latest round of testing I have opted to remove the shipping version of  
> perl.  rm -rf /System/Library/Perl and same for /Library/Perl and  
> /usr/bin/per*
>
> I then installed the latest version of Perl (5.8.5) using ./configure  
> -Dprefix=/usr -Dusershrplib to place perl in the default os x  
> directories.  Then did defaults for everything else and after it was  
> all done I had the latest version of perl working on my mac in place  
> of the orig version.
>
> Then I ran cpan and installed Authen::Krb5, MD5, and Net::SSLeay.   
> SSLeay has to be force installed so I did that and because I was  
> having problems before with Krb5 I also force installed that.
>
> I then installed radiator and put my config files in /etc/radiator.
>
> and I am still running into the errors I was originally getting.
>
> I read some stuff on a website that said about installing the mods  
> manually so I did this for krb5 and discovered that according to the  
> makefile.pl it's supposed to be installing the libs into  
> /urs/local/krb5.  Well that directory doesn't exist.  I did a mkdir on  
> it on one of my attempts and compiled it again and still nothing in  
> the /usr/local/krb5 dir.
>
> So my thoughts are that for some reason the lib files are not getting  
> installed and this is why I'm getting these errors.  However when I  
> coppied them from blib/lib into /usr/local/krb5/lib nothing changed.   
> So I am at a loss as to what to do.
>
> Below is my terminal session that will hopefully help you follow what  
> I am saying a little better.
>
> Thanks for any ideas you may have.
>
> -Mike
>
>
> -------------------
>
> Last login: Fri Oct 22 12:16:19 on ttyp2
> Welcome to Darwin!
> MATRIX:~ root# radiusd
> dyld: perl Undefined symbols:
> /usr/local/lib/perl5/site_perl/5.8.5/darwin-2level/auto/Authen/Krb5/ 
> Krb5.bundle undefined reference to _krb5_free_address expected to be  
> defined in a dynamic image
> /usr/local/lib/perl5/site_perl/5.8.5/darwin-2level/auto/Authen/Krb5/ 
> Krb5.bundle undefined reference to _krb5_free_enc_tkt_part expected to  
> be defined in a dynamic image
> /usr/local/lib/perl5/site_perl/5.8.5/darwin-2level/auto/Authen/Krb5/ 
> Krb5.bundle undefined reference to _krb5_free_krbhst expected to be  
> defined in a dynamic image
> /usr/local/lib/perl5/site_perl/5.8.5/darwin-2level/auto/Authen/Krb5/ 
> Krb5.bundle undefined reference to _krb5_gen_portaddr expected to be  
> defined in a dynamic image
> /usr/local/lib/perl5/site_perl/5.8.5/darwin-2level/auto/Authen/Krb5/ 
> Krb5.bundle undefined reference to _krb5_gen_replay_name expected to  
> be defined in a dynamic image
> /usr/local/lib/perl5/site_perl/5.8.5/darwin-2level/auto/Authen/Krb5/ 
> Krb5.bundle undefined reference to _krb5_get_krbhst expected to be  
> defineda dynamic image
> /usr/local/lib/perl5/site_perl/5.8.5/darwin-2level/auto/Authen/Krb5/ 
> Krb5.bundle undefined reference to _krb5_init_ets expected to be  
> defined in a dynamic image
> Trace/BPT trap
> MATRIX:~ root# cd .cpan/build/Krb5-1.3/
> MATRIX:~/.cpan/build/Krb5-1.3 root# head -n 19 Makefile.PL
> use ExtUtils::MakeMaker;
>
> ##### CHANGE THESE ACCORDING TO YOUR CONFIGURATION #####
>
> # location of Kerberos 5 libraries
> my $KRB5_LIBDIR = '/usr/local/krb5/lib';
>
> # any extra libraries?
> # add -lresolv here if you get errors like the following (usually on  
> linux):
> #  undefined symbol: __res_search
> my $KRB5_EXTRALIBS = '-lresolv';
>
> # location of Kerberos 5 includes
> my $KRB5_INCDIR = '/usr/local/krb5/include';
>
> # any extra include flags?
> my $KRB5_EXTRAINCS = '';
>
> ##### DO NOT CHANGE ANYTHING BELOW HERE #####
> MATRIX:~/.cpan/build/Krb5-1.3 root# cd /usr/local
> MATRIX:/usr/local root# ls
> bin     lib     man
> MATRIX:/usr/local root#
> --
> Archive at http://www.open.com.au/archives/radiator/
> Announcements on radiator-announce at open.com.au
> To unsubscribe, email 'majordomo at open.com.au' with
> 'unsubscribe radiator' in the body of the message.
>
>

NB: have you included a copy of your configuration file (no secrets),
together with a trace 4 debug showing what is happening?

-- 
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
-
CATool: Private Certificate Authority for Unix and Unix-like systems.

--
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list