I Actually figured it out.  

The solution was to add the mysql library path to /etc/ld.so.conf:

/usr/lib
/usr/kerberos/lib
/usr/X11R6/lib
/services/db/mysql/lib/mysql

<snip>
        libSM.so.6 -> libSM.so.6.0
        libPEX5.so.6 -> libPEX5.so.6.0
        libICE.so.6 -> libICE.so.6.3
/services/db/mysql/lib/mysql:
        libmysqlclient.so.10 -> libmysqlclient.so.10.0.0
/lib/i686: (hwcap: 0x8000000000000)
</snip>

# /services/radius/freeradius/sbin/radiusd -d /services/radius/conf -xx
<snip>
rlm_sql: Driver rlm_sql_mysql loaded and linked
rlm_sql: Attempting to connect to freeradius@localhost:3306/radius
rlm_sql:  Connected new DB handle, #0
rlm_sql:  Connected new DB handle, #1
rlm_sql:  Connected new DB handle, #2
rlm_sql:  Connected new DB handle, #3
rlm_sql:  Connected new DB handle, #4
</snip>

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]] On Behalf Of 
> Jason A. Lixfeld
> Sent: October 14, 2001 11:47 AM
> To: [EMAIL PROTECTED]
> Subject: Rlm_sql module insertion failure
> 
> 
> I'm trying to load the sql module:
> 
> Sun Oct 14 11:23:27 2001 : Error: radiusd.conf[4]: sql: 
> Module instantiation failed. 
> Sun Oct 14 11:23:38 2001 : Error: rlm_sql: Could not link driver
> rlm_sql_mysql: file not found
> Sun Oct 14 11:23:38 2001 : Error: rlm_sql: Make sure it (and 
> all its dependent libraries!) are in the search path of your 
> system's ld
> 
> I figured that the radius lib dir would have to be inserted 
> into ld.so.conf but when I do that and re-run ldconfig -v the 
> directory shows up but no entries in it:
> 
> <snip>
>         libXaw.so.6 -> libXaw.so.6.1
>         libXIE.so.6 -> libXIE.so.6.0
>         libX11.so.6 -> libX11.so.6.2
>         libSM.so.6 -> libSM.so.6.0
>         libPEX5.so.6 -> libPEX5.so.6.0
>         libICE.so.6 -> libICE.so.6.3
> /services/radius/freeradius/lib:
> /lib/i686: (hwcap: 0x8000000000000)
>         libpthread.so.0 -> libpthread-0.9.so
>         libm.so.6 -> libm-2.2.2.so
> </snip>
> 
> I debug radius with -xx and everything looks fine.  It says 
> it's loaded the module without problems, but I can't figure 
> out why it doesn't work.
> 
> Any help would be appreicated!
> 
> TiA!
> 
> 
> 
> - 
> List info/subscribe/unsubscribe? See 
> http://www.freeradius.org/list/users.html
> 



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

Reply via email to