Yeah, you were right, Alan. It was the MySQL libraries. What would
cause that? Not specifying when ./configure? Here's what I used to
configure mysql:
# more /source/mysql/mysql-3.23.43/configure.sh
CFLAGS="-O3" CXX=gcc CXXFLAGS="-O3 -felide-constructors -fno-exceptions
-fno-rtti" ./configure --prefix=/services/db/mysql --localst
atedir=/services/db/content --enable-assembler
--with-mysqld-ldflags=-all-static
#
Should I have implicitly specified a libdir, even though (in my
experience) it's assumed to be ${--prefix_path}/lib?!
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]] On Behalf Of
> [EMAIL PROTECTED]
> Sent: October 14, 2001 2:00 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Rlm_sql module insertion failure
>
>
> "Jason A. Lixfeld" <[EMAIL PROTECTED]> wrote:
> > 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
>
> Either rlm_sql_mysql.so isn't there, or the MySQL libraries
> are statically linked, not dynamic.
>
> > I figured that the radius lib dir would have to be inserted into
> > ld.so.conf
>
> No. That's what the 'libdir' configuration item is for.
>
> > but when I do that and re-run ldconfig -v the directory
> shows up but
> > no entries in it:
> ...
> > /services/radius/freeradius/lib:
>
> Did you do 'make install' ?
>
> Or, the libraries may have been installed somewhere else.
> I can't help there, as it's your system, and your local configuration.
>
> > 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.
>
> Uh, no. The error message you quoted says there was an error.
>
> If you see something different when running it in debug
> mode, then post *those* messages, and check out the
> configuration file.
>
> Alan DeKok.
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html