Ben,
   Thank you so much for spending time with this.

   When I do
   cd $HP_SRC/srclib/apr-util
   ldd .libs/libaprutil-1.so

   I do not see mysql in there.  How come?

Vasiliy Boulytchev




I am not sure if you actually have the  .libs/libaprutil-1.so file
if you do, and libmysqlclient_r is not being linked to, then that means that the buildconf failed to see the mysql file..

make sure it is there...

ls -l $HP_SRC/srclib/apr-util/dbd/apr_dbd_mysql.c

If not, then get it...

----------
Make sure that you have any  custom library directories mentioned in /etc/ld.so.conf 
#/etc.so.conf is like this on my box
/opt/lib
/opt/lib/mysql
/opt/httpd/apr/lib

#And use ldconfig -v to refresh it..
-----------
Alternatively it maybe that your mysql install location is not being found. This is the method i used for building mysql from source...

tar -xzf mysql-5.0.24a.tar.gz
cd mysql
make clean
CFLAGS="-O3" CXX=gcc CXXFLAGS="-O3 -felide-constructors -fno-exceptions -fno-rtti" ./configure --prefix=/opt --with-charset=utf8 --enable-thread-safe-client --enable-threads=posix --with-ncurses
make all
make install
su
ldconfig -v
------------
Beyond that - I am not sure!!
   -b

Reply via email to