On Thu, 2003-01-16 at 16:46, Gustavo Lozano wrote:
> Hello.
> 
> I have read this same error on several mails, posts and websites but no
> one solution
> 
> I have mysql installed in /opt/mysql
> See this:
> bash-2.05# ls -l /opt/mysql/lib
> total 3470
> -rw-r--r--   1 root     mysql      15352 Dec  9 03:25 libdbug.a
> -rw-r--r--   1 root     mysql     760668 Aug 28 14:18 libmygcc.a
> -rw-r--r--   1 root     mysql     297600 Dec  9 03:23 libmysqlclient.a
> -rw-r--r--   1 root     mysql     304972 Dec  9 03:20 libmysqlclient_r.a
> -rw-r--r--   1 root     mysql     115876 Dec  9 03:25 libmystrings.a
> -rw-r--r--   1 root     mysql     213596 Dec  9 03:26 libmysys.a
> 
> But, when doing configure --with-mysql-lib-dir=/opt/mysql, OR
> --with-mysql-lib-dir=/opt/mysql/lib, I get the next:
> 
> 
> running /bin/sh ./configure  --with-mysql-include-dir=/opt/mysql
> --with-mysql-lib-dir=/opt/mysql --enable-ltdl-install
> --enable-ltdl-install --cache-file=../../../../.././config.cache
> --srcdir=.
> 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>.
> 
> What can be wrong?

I'm not a programmer, but could it be cause you dont have the shared
libraries? (ex. libmysqlclient.so.10.0.0, libmysqlclient_r.so.10.0.0)

--Josh Snyder
NetNITCO Systems Administration



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

Reply via email to