DBD::mysql library issue on mod_perl2/Leopard

"Hendrik Van Belleghem" <[email protected]> Sun, 9 Dec 2007 23:42:31 +0100
Newsgroups gmane.comp.db.mysql.perl
Message-ID <[email protected]>
Hi

I'm having some trouble with DBD::Mysql under mod_perl2 on Leopard.
The build process when just fine, make test didn't show any errors and
running it in console and as CGI didn't show any errors. I already tried
adding "PerlSetEnv LD_LIBRARY_PATH '/usr/local/mysql/lib/mysql/:/usr/lib'"
and "SetEnv LD_LIBRARY_PATH /usr/local/mysql/lib/mysql" to my configuration
(which points to the libmysqlclient.15.dylib file)

The error log includes these messages for every request sent:

dyld: lazy symbol binding failed: Symbol not found: _mysql_server_init
  Referenced from:
/Library/Perl/5.8.8/darwin-thread-multi-2level/auto/DBD/mysql/mysql.bundle
  Expected in: dynamic lookup

dyld: Symbol not found: _mysql_server_init
  Referenced from:
/Library/Perl/5.8.8/darwin-thread-multi-2level/auto/DBD/mysql/mysql.bundle
  Expected in: dynamic lookup

[Sun Dec 09 23:16:22 2007] [notice] child pid 439 exit signal Trace/BPT trap
(5)

Any ideas?

-- 
Hendrik Van Belleghem
Spine - The backbone for your website - http://spine.sf.net