ldd informs me that libmysqlclient is linked in at the following path:
    /usr/sfw/lib/libmysqlclient_r.so.12

I've never tried loading the library explicitly, I see what that does.... odd that the 'working' apache installation has the same module with the same dependencies (libmysqlclient) and works.

Thanks much for your reply!
    -Steve

On 9/1/2010 2:19 PM, Nick Kew wrote:
On Wed, 01 Sep 2010 10:27:20 -0500
Steve Whitson<[email protected]>  wrote:

I get the following error:
      Can't load driver file apr_dbd_mysql.so

The driver file built ok using the configure directives
       --with-mysql=/usr/local --with-included-apr

Here they are:
./lib/apr-util-1/apr_dbd_mysql-1.so
./lib/apr-util-1/apr_dbd_mysql.so ->  apr_dbd_mysql-1.so
./lib/apr-util-1/apr_dbd_mysql.la
./lib/apr-util-1/apr_dbd_mysql.a
Is the driver file apr_dbd_mysql.so linked to libmysqlclient_r.so?
What does ldd tell you?

You might want to check your LD_LIBRARY_PATH.  Or load the library
explicitly with

LoadFile /path/to/libmysqlclient_r.so

before your DBDriver in httpd.conf



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [email protected]
  "   from the digest: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to