I have the static ones...

Reading into the config.cache and aclocal.4 files, the configure script
try to find libmysqlclient.a


Anyways that is a good point, I will recompile using shared libs (mysql)
and give a try ...

Regards

On Thu, 2003-01-16 at 18:05, NetNITCO Systems Administration wrote:
> 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
-- 
_________________                                 __________________
Gustavo A. Lozano                                 Noldata Corporation
[EMAIL PROTECTED]                               Calle 46 No. 40-19
CTO                                               Bogota D.C. Colombia
Noldata Corporation                               http://noldata.com

            I know not with what weapons World War III will be fought,
               but World War IV will be fought with sticks and stones.
                                                       Albert Einstein

This Message has been scanned for Virus Content using RAV Antivirus.
Get your copy of RAV Antivirus at Noldata, send mail to 
[EMAIL PROTECTED]               http://noldata.com



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

Reply via email to