linking shared libraries?

Subject: linking shared libraries?
From: Murias O'Ceallagh (
Date: Tue May 22 2001 - 23:49:32 MDT

*This message was transferred with a trial version of CommuniGate(tm) Pro*
I just compiled and installed the source of the latest MySQL onto my YDL
1.2.1 with kernel 2.2.17. It of course installed the
in /usr/local/lib/mysql. So then I add the appropriate line to the
/etc/ as follows:


then ran ldconfig -v got the following:

/usr/local/lib/mysql: =>

this all looked really groovey to me, and thought that all would be great.
Yeah, before I did all of this I did change my admin pwd adn started the
mysqld. :)

I waited until today to do all of this cause I did not want something
that I might not use sucking up precious system resources. But as of
today I needed the shared libs and a few other things from MySQL. to be
able to compile obs-0.3.0.... (irpd was fun to play with and great if not
doing anything serious-thank you Iain:)

but then I go to configure obs and I get the following:

checking for mysql_connect in -lmysqlclient... yes
checking libmysqlclient library availability... not ok
*** Cannot run mysqlclient test program. Either is not
*** properly installed or the path to is not
*** in the dynamic link path. To fix this on Linux make sure that the
*** path to (usually /usr/local/lib/mysql) is in
*** /etc/ and that ldconfig has been run.

I attepmted to do ldconfig again and even shutdown the mysqld and then
ldconfig again then restarted the mysqld, but to no avail.

Would anyone happen to have any suggestions whatsoever? It would be
Thanx in advance.


This archive was generated by hypermail 2a24 : Tue May 22 2001 - 22:53:55 MDT