<br><font size=2 face="sans-serif">Dont know much about ubuntu distro but
in redhat i had to unistall pre-installed mysql packages and install mysql,
mysql-devel and mysql-shared-compat to fix it: before that i get same error,
devel package was there and "use" did not did it</font>
<br><font size=2 face="sans-serif">Think is a linker problem check http://wiki.freeradius.org/index.php/FAQ#It_says_.22Could_not_link_..._file_not_found.22.2C_what_do_I_do.3F</font>
<br><font size=2 face="sans-serif">Hope it helps</font>
<br><font size=2 face="sans-serif"><br>
Hernan Antolini<br>
<br>
</font><tt><font size=2>freeradius-users-bounces+antolini=ar.ibm.com@lists.freeradius.org
wrote on 11/22/2006 02:30:15 PM:<br>
<br>
> Platform is Ubuntu Linux 6.06 server i386 with kernel version 2.6.15-23.
<br>
> Software is Freeradius 1.1.3 and MySQL 4.1.21.  The problem is
that the<br>
> Freeradius configure script will not detect the existance of the mysqlclient_r<br>
> library and subsequently fails to build the rlm_sql_mysql driver <br>
> despite my use<br>
> of the --with-mysql-lib-dir directive.<br>
> <br>
> The configure line:<br>
> ./configure --prefix=/usr/local/pw/freeradius-1.1.3<br>
> --with-mysql-lib-dir=/usr/local/lib/mysql<br>
> <br>
> >From the configure output:<br>
> checking for mysql_init in -lmysqlclient_r (using mysql_config)...
no<br>
> checking for mysql_init in -lmysqlclient_r... no<br>
> configure: WARNING: mysql libraries not found. Use --with-mysql-lib-<br>
> dir=<path>.<br>
> checking for mysql.h (using mysql_config)... yes<br>
> configure: WARNING: sql submodule 'mysql' disabled<br>
> configure: creating ./config.status<br>
> <br>
> A listing of the lib dir:<br>
> # ls -l /usr/local/lib/mysql/libmysqlclient_r*<br>
> -rw-r--r-- 1 root root 1462324 2006-11-14 02:23<br>
> /usr/local/lib/mysql/libmysqlclient_r.a<br>
> -rw-r--r-- 1 root root 1395548 2006-11-13 22:44<br>
> /usr/local/lib/mysql/libmysqlclient_r.so.15<br>
> -rw-r--r-- 1 root root 1395548 2006-11-13 22:44<br>
> /usr/local/lib/mysql/libmysqlclient_r.so.15.0.0<br>
> <br>
> Some evidence of the existance of the referenced function in that
library:<br>
> # file /usr/local/lib/mysql/libmysqlclient_r.so.15<br>
> /usr/local/lib/mysql/libmysqlclient_r.so.15: ELF 32-bit LSB shared
<br>
> object, Intel<br>
> 80386, version 1 (SYSV), stripped<br>
> # strings /usr/local/lib/mysql/libmysqlclient_r.so.15 | grep mysql_init<br>
> mysql_init<br>
> <br>
> Any ideas?<br>
> <br>
> Thanks,<br>
> <br>
> Chris Carver<br>
> Network Engineer<br>
> - <br>
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html<br>
</font></tt>