RE: rlm_krb failing on start

2003-08-26 Thread Paul Hampson
 From: Chris Akens
 Sent: Tuesday, 26 August 2003 5:49 AM

 I am having an issue with Freeradius not starting up correctly because
 of this error. I am using the latest CVS snapshot (20030825) on a RedHat
 9 box and I do have the krb5 libs installed.
 
 ERROR =
 
 radiusd.conf[496] Failed to link to module 'rlm_krb5': file not found

Hmm. Try running ldd on rlm_krb5.so and see if it can resolve all its
dependant libraries.

 I am not having any problems during configure...below is the output from
 the rlm_krb5 section
 
 
 configuring in src/modules/rlm_krb5
 running /bin/sh ./configure 
 --with-rlm-krb5-include-dir=/usr/kerberos/include
 --with-rlm-krb5-lib-dir=/usr/kerberos/lib --enable-ltdl-install

Is /usr/kerberos/lib in your ld.so.conf?

--
=
Paul TBBle Hampson
Bubblesworth Pty Ltd (ABN: 51 095 284 361)
[EMAIL PROTECTED]

This is a one line proof...if we start
sufficiently far to the left.
-- Cambridge University Math Department
-
Random signature generator 3.0 by Paul TBBle Hampson
=


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


rlm_krb failing on start

2003-08-25 Thread Chris Akens
I am having an issue with Freeradius not starting up correctly because
of this error. I am using the latest CVS snapshot (20030825) on a RedHat
9 box and I do have the krb5 libs installed.

ERROR =

radiusd.conf[496] Failed to link to module 'rlm_krb5': file not found


I am not having any problems during configure...below is the output from
the rlm_krb5 section


configuring in src/modules/rlm_krb5
running /bin/sh ./configure 
--with-rlm-krb5-include-dir=/usr/kerberos/include
--with-rlm-krb5-lib-dir=/usr/kerberos/lib --enable-ltdl-install
--cache-file=../../.././config.cache --srcdir=.
loading cache ../../.././config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 -D_REENTRANT
-D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -g -Wshadow
-Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs ) works... yes
checking whether the C compiler (gcc -g -O2 -D_REENTRANT
-D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -g -Wshadow
-Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for krb5.h... yes
checking for krb5_encrypt_data in -lk5crypto... yes
checking for DH_new in -lcrypto... yes
checking for set_com_err_hook in -lcom_err... yes
checking for krb5_init_context in -lkrb5... yes
creating ./config.status
creating Makefile



I have built FR with krb5 support before and had no problems. I have
researched and found that this may be a problem with linking the
libraries. I have tried changing the ld.so.conf file and some other
values but have had no luck. 

I am unsure on how to get a more detailed output on where exactly
radiusd is failing and where it is trying to look for rlm_krb5. 

Any and all help is greatly appreciated.

Chris Akens


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html