You do have the files; it's just a matter of config...

ldconfig -rpath /var/lib/mysql/lib/mysql

should do it... this adds this directory to the search path always;

or, try the same thing you already tried, but extend the path to
/var/lib/mysql/lib/mysql, if that's really where the libraries are on your
system. (that's why I sometimes don't 'get' linux [dons flamesuit])

On Wed, 10 Nov 1999,
Philipp Rotmann wrote: > Hi,
> 
> well, I, er, have that Frequently Encountered Problem whith the
> MySQL client library while configuring midgard-lib-1.2.5 ...
> 
> I already tried with 
> 
> $ LIB=-L/var/lib/mysql LDFLAGS=-L/var/lib/mysql ./configure
> 
> as Emile wrote some time ago, but ./configure still does'nt
> work:
> 
> | checking MySQL location... checking for mysql_connect in -lmysqlclient... no
> | *** You need the libmysqlclient library for Midgard.         ***
> | *** Use the --with-mysql option to tell                      ***
> | *** the configure script where to look for the library.      ***
> | configure: error: MySQL client library mysqlclient not found.
> 
> I am not really sure whether my compilation of mysql-3.22.27
> _did_ actually produce that library, but I do have the following
> files in my mysql tree:
> 
> /var/lib/mysql/lib/mysql/libmysqlclient.a
> /var/lib/mysql/lib/mysql/libmysqlclient.la*
> /var/lib/mysql/lib/mysql/libmysqlclient.so@
> /var/lib/mysql/lib/mysql/libmysqlclient.so.6@
> /var/lib/mysql/lib/mysql/libmysqlclient.so.6.0.0*
> 
> 
> Any suggestions ... ?
> 
> 
> Thanks in advance,
> 
>      phr
> 
> -- 
> > When we lose this battle, we _will_ lose the war.
>                   -- Dave Whitinger on the importance of Mozilla
> 
> --
> This is The Midgard Project's mailing list. For more information,
> please visit the project's web site at http://www.midgard-project.org
> 
> To unsubscribe the list, send an empty email message to address
> [EMAIL PROTECTED]

--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to