What exactly did you put in ld.so.conf? Did you run ldconfig after adding that line?
What I put in the ld.so.conf was this, and I rebooted the server after adding the line:
/usr/local/freeradius/src/modules/rlm_sql/drivers/rlm_sql_mysql
Ed
From: Kristina Pfaff-Harris <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Newbie: Permissions on rlm_sql_mysql/db_mysql.sql Date: Wed, 26 Feb 2003 17:15:36 -0800 (PST)
On Thu, 27 Feb 2003, Ed H wrote:
> To add, this is all an attempt to get rid of the error below:
>
> rlm_sql: Could not link driver rlm_sql_mysql: file not found
> rlm_sql: Make sure it (and all its dependent libraries!) are in the search
> path of your system's ld.
> radiusd.conf[14]: sql: Module instantiation failed.
This often happens if you didn't do "make install" (which installs all the libraries where they need to be).
What exactly did you put in ld.so.conf? Did you run ldconfig after adding that line? And is there a rlm_sql_mysql.so or similar file in that directory? Are you sure that the rlm_mysql library even got compiled? (Maybe the configure script couldn't find your mysql libraries and include files.)
This error can have a lot of reasons behind it ranging from something not going quite right during compilation to the library not being where the server can find it. You'll want to look around to make sure it even got compiled, and that it's someplace where the server can find it.
Just a few thoughts. :-)
K.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
