Re: Can't load driver file apr_dbd_mysql.so

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 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<steven.whitson@xxxxxxxxx>  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: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux