> I'm using FreeRADIUS 0.8, with MySQL 3.23.49 which I compiled myself and
> installed (which includes all of the libs and headers) on a Linux 2.4.17
> box.
> I'm aware of the need for FreeRADIUS to need to find the MySQL headers and
> libraries. However the usual libraries are in the usual places
> (/usr/local/mysql/lib/mysql/ and /usr/local/mysql/include/mysql/).
In a random attempt at appeasing the library Gods I downloaded the latest
MySQL (stable) source tarball and installed 3.23.53 and all its goodies.
I then made clean FreeRADIUS and configured like so:
./configure --prefix=/usr/local/radius/
--with-rlm-mysql-lib-dir=/usr/local/mysql/lib/mysql/
--with-rlm-mysql-include-dir=/usr/local/mysql/include/mysql/
In the configure response I see configure find MySQL successfully:
checking for mysql/mysql.h... yes
checking for mysql_init in -lmysqlclient... yes
I built and installed clean (after removing the previous /usr/local/radius/),
and, much to my chagrin, still have FreeRADIUS complaining:
./radiusd: error in loading shared libraries:
/usr/local/radiusd//lib/rlm_sql_mysql.so.0: undefined symbol: mysql_errno
mysql_errno() is in libmysql.c, or libmysqlclient.so.
libmysqlclient.so is in /usr/local/mysql/lib/mysql/.
Help?
JP
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html