I am trying to compile freeradius-snapshot-20010730 with mysql. For some 
reason I am unable to get it to work properly. I hope someone can assist me 
with this problem.

Here is what the output of the ./configure script says:

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

Here is the command that I am trying to run:

./configure --with-thread-pool --with-mysql-include-dir=/usr/include/mysql/ 
--with-mysql-lib-dir=/usr/lib/mysql/ --with-mysql-dir=/usr/bin/

Here is an "ls -al" of /usr/lib/mysql/ :

-rw-r--r--   1 root     root        11562 Jun 13 01:44 libdbug.a
-rw-r--r--   1 root     root        34546 Jun 13 01:44 libheap.a
-rw-r--r--   1 root     root        15274 Jun 13 01:44 libmerge.a
-rw-r--r--   1 root     root       227836 Jun 13 01:44 libmyisam.a
-rw-r--r--   1 root     root        23018 Jun 13 01:44 libmyisammrg.a
-rw-r--r--   1 root     root       179634 Jun 13 01:44 libmysqlclient.a
-rwxr-xr-x   1 root     root          709 Jun 13 01:44 libmysqlclient.la
lrwxrwxrwx   1 root     root           24 Aug 14 10:43 libmysqlclient.so -> 
libmysqlclient.so.10.0.0
lrwxrwxrwx   1 root     root           24 Aug 14 10:43 libmysqlclient.so.10 
-> libmysqlclient.so.10.0.0
-rwxr-xr-x   1 root     root       110812 Jun 13 01:52 
libmysqlclient.so.10.0.0
-rw-r--r--   1 root     root       186268 Jun 13 01:44 libmysqlclient_r.a
-rwxr-xr-x   1 root     root          741 Jun 13 01:44 libmysqlclient_r.la
lrwxrwxrwx   1 root     root           26 Aug 14 10:43 libmysqlclient_r.so -> 
libmysqlclient_r.so.10.0.0
lrwxrwxrwx   1 root     root           26 Aug 14 10:43 libmysqlclient_r.so.10 
-> libmysqlclient_r.so.10.0.0
-rwxr-xr-x   1 root     root       115132 Jun 13 01:52 
libmysqlclient_r.so.10.0.0
-rw-r--r--   1 root     root        35152 Jun 13 01:44 libmystrings.a
-rw-r--r--   1 root     root       204470 Jun 13 01:44 libmysys.a
-rw-r--r--   1 root     root       100348 Jun 13 01:44 libnisam.a

This machine is running slackware 7.0.0, but the mysql is from slackware 8.0. 
It is version mysql-3.23.39 from the slackware package mysql.tgz. I ran 
ldconfig and that didn't help either.

Can anyone see what I might be doing wrong? I'm sure mysql_init has been in 
libmysqlclient for some time, so I can't imagine that it wouldn't be in 
this one.

Thanks,

Nick
-- 
Nick Davis 
Associate Systems Administrator 
[EMAIL PROTECTED] 
Internet Exposure, Inc. 
http://www.iexposure.com  

(612)676-1946 
Web Development-Web Marketing-ISP Services

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to