Re: DBD::mysql library issue on mod_perl2/Leopard

Patrick Galbraith <[email protected]> Mon, 10 Dec 2007 09:48:28 -0500
Newsgroups gmane.comp.db.mysql.perl
Message-ID <[email protected]>
Hendrik Van Belleghem wrote:

>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)
>
>  
>
Strange - this error looks like it's trying to compile in embedded 
support "_mysql_server_init"

Are you trying to compile in embedded? What are the steps you're taking 
to compile?

I'm the maintainer of DBD:mysql  and will be upgrading my own mac that I 
do dev on to Leopard this week hopefully and can see if I can duplicate 
this error.


>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?
>
>  
>


-- 
Patrick Galbraith, Senior Programmer 
Grazr - Easy feed grazing and sharing
http://www.grazr.com 

Satyam Eva Jayate - Truth Alone Triumphs
Mundaka Upanishad




-- 
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe:    http://lists.mysql.com/[email protected]