mysql 5.0.22 with fr 1.1.2

Alexander Serkin als at cell.ru
Thu Jun 1 07:21:52 CEST 2006


while trying to compile the fr 1.1.2 with mysql 5.0.22 i got the 
following with rlm_sq_mysql configure:


checking for mysql_config... yes
checking for mysql_init in -lmysqlclient (using mysql_config)... no
checking for mysql_init in -lmysqlclient... no
configure: warning: mysql libraries not found. Use 
--with-mysql-lib-dir=<path>.
checking for mysql.h (using mysql_config)... no
checking for mysql/mysql.h... yes
configure: warning: sql submodule 'mysql' disabled

mysql libraries are in /opt/mysql/lib/mysql. The machine is under 
Solaris 8 x86.

crle output says:
root at apollo:/usr/local/src/freeradius-1.1.2~# crle

Configuration file [3]: /var/ld/ld.config
   Default Library Path (ELF): 
/usr/lib:/usr/local/lib:/opt/mysql/lib/mysql:/usr/local/ssl/lib
   Trusted Directories (ELF):    /usr/lib/secure  (system default)

And /usr/local/mysql is a symbolic link to /opt/mysql.

Everything seems to be in place, but configure does not see mysql.
What could be the reason?

-- 
Sincerely Yours,
Alexander



More information about the Freeradius-Users mailing list