ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-mod_perl
perl-mod_perl
DBD::mysql library issue on mod_perl2/Leopard
by Hendrik Van Belleghem other posts by this author
Dec 28 2007 1:10PM messages near this date
Re: mod_perl, ENV{'TZ'}, and localtime | Re: DBD::mysql library issue on mod_perl2/Leopard
Hi all,

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?

PS: I already tested this with the very latest DBD::mysql (4.006) and
crossposted to the DBD::mysql mailing list a couple of weeks ago.

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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved