Re: [us...@httpd] Can't load driver file apr_dbd_mysql.so

2010-09-02 Thread Steve Whitson
This worked! It built using my 5.0.67 version of mysql. After that I installed the 2.2.16 build, added the 5.0.67 mysql lib folder to the LD_LIBRARY_PATH in envvars and all was well! :) The configuration entry 'DBDriver mysql' now loads apr_dbd_mysql.so yea! Nick I appreciate your inputs!

Re: [us...@httpd] Can't load driver file apr_dbd_mysql.so

2010-09-02 Thread Steve Whitson
I modified the mysql_config to replace "-xarch=v8" with "-mcpu=v8" based on: http://www.zabbix.com/forum/showthread.php?t=13151 and http://forums.mysql.com/read.php?51,7767,183553#msg-183553 That seems to allow it to configure at least recognize that it has a usable mysql :) Thanks!

Re: [us...@httpd] Can't load driver file apr_dbd_mysql.so

2010-09-02 Thread Nick Kew
On Thu, 02 Sep 2010 07:04:01 -0500 Steve Whitson wrote: > configure:27065: gcc -o conftest -g -O2 -DSOLARIS2=10 > -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE > -I/usr/local/mysql/include -xarch=v8 -L/usr/local/mysql/lib > -lmysqlclient_r -lz -lpthread -lthread -lposix4 -lgen

Re: [us...@httpd] Can't load driver file apr_dbd_mysql.so

2010-09-02 Thread Steve Whitson
Here's the error in the config log for 2.2.10 built against prebuilt mysql 5.0.67 configure:39653: checking for mysql_init in -lmysqlclient_r configure:39688: gcc -o conftest -g -O2 -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -I/usr/local/mysql/include -xarch=v8

Re: [us...@httpd] Can't load driver file apr_dbd_mysql.so

2010-09-02 Thread Steve Whitson
In the config.log for apr-util I see an error when I use the (from mysql community) prebuilt 5.0.67 version of mysql & when I use the prebuild latest version of 5.1.x of mysql. Here's an example (not sure which of the two I was building against with this error, since I went back to trying builds

Re: [us...@httpd] Can't load driver file apr_dbd_mysql.so

2010-09-01 Thread Nick Kew
On 1 Sep 2010, at 23:03, Steve Whitson wrote: > I did notice that this version of mysql is 4.0. I want to be using 5.0 but > the libmysqlclient_r library isn't available in this installation. As I had > mentioned, I do have an apache 2.2.9 working using the mysql 4.0 version > client. Is it

Re: [us...@httpd] Can't load driver file apr_dbd_mysql.so

2010-09-01 Thread Steve Whitson
Still no luck... I added the path /usr/sfw/lib to the envvars LD_LIBRARY_PATH, I had also tried adding to my path before launching. I did notice that this version of mysql is 4.0. I want to be using 5.0 but the libmysqlclient_r library isn't available in this installation. As I had mentione

Re: [us...@httpd] Can't load driver file apr_dbd_mysql.so

2010-09-01 Thread Nick Kew
On Wed, 01 Sep 2010 14:57:37 -0500 Steve Whitson wrote: > 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 installati

Re: [us...@httpd] Can't load driver file apr_dbd_mysql.so

2010-09-01 Thread Steve Whitson
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) a

Re: [us...@httpd] Can't load driver file apr_dbd_mysql.so

2010-09-01 Thread Nick Kew
On Wed, 01 Sep 2010 10:27:20 -0500 Steve Whitson 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

[us...@httpd] Can't load driver file apr_dbd_mysql.so

2010-09-01 Thread Steve Whitson
Hi, I have a freshly built apache server v2.2.16 (exact same error on a fresh 2.2.10 too). When I add the config directive DBDriver mysql 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