[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nufw-users] Several errors in configure and compiling
From: |
Vincent SCHULTZ |
Subject: |
Re: [Nufw-users] Several errors in configure and compiling |
Date: |
Wed, 25 May 2005 15:20:10 +0200 (CEST) |
Le mercredi 25 mai 2005 à 14:57 +0200, Vincent Deffontaines a écrit :
Vincent SCHULTZ said:
> > Ok, back to mysql problem.
> >
> > I removes all the symbolic links from /usr/lib to /usr/lib/mysql and
> > restart a fresh install with :
> >
> > # ./configure --prefix=/opt/nufw --with-ldap --with-user-mark
> > --with-mysql-log
> > ...
> > checking for mysql_real_connect in -lmysqlclient... no
> > configure: error: mysqlclient library needed if selected
> >
> > So I attached the config.log.
> >
> > Vincent
> >
>
> Ok, this really looks like a problem on your system to me.
> As config.log shows, your ld installation cannot see libmysqlclient.
>
> It seems your system might ignore the ld.config.conf configuration, for
> some reason I ignore. Maybe the old setup remains in cache?
> Here are a few ideas :
> Can you try to run ldconfig (as root, of course), then retry the
> ./configure ?
> If it still doesn't work, can you try to set
> LD_LIBRARY_PATH=/usr/lib/mysql and retry ?
>
> Vincent
Vincent,
Both solutions do not work, first if I print the ldconfig cache :
address@hidden nufw-1.0.5]# ldconfig -p | grep mysql
libmysqlclient_r.so.10 (libc6) => /usr/lib/mysql/libmysqlclient_r.so.10
libmysqlclient_r.so (libc6) => /usr/lib/mysql/libmysqlclient_r.so
libmysqlclient.so.10 (libc6) => /usr/lib/mysql/libmysqlclient.so.10
libmysqlclient.so (libc6) => /usr/lib/mysql/libmysqlclient.so
I have also "export LD_LIBRARY_PATH=/usr/lib/mysql", but I still have in the
configure :
checking for mysql_real_connect in -lmysqlclient... no
configure: error: mysqlclient library needed if selected
address@hidden nufw-1.0.5]# echo $LD_LIBRARY_PATH
/usr/lib/mysql/
Vincent
>