Using DBD::Mysql on OS X Lion Server
Hello together,
I have MySQL running on Mac OS X Lion Server.
The server was upgraded from Leopard Server so it is the Apple installed MySQL server version from Mac OS X Server 10.5.
/usr/libexec/mysqld Ver 5.0.67-log for apple-darwin9.0 on i686 (Source distribution)
Now I want to install DBD::Mysql vom cpan but whatever I tried, it didn´t work.
After googling I first I thought it might be an issue of headers and libraries so I copied /usr/local/lib/mysql and /usr/local/include/mysql from a OS X client machine, where I did install DBD::Mysql months ago.
But I got some errors like
dyld: Symbol not found: _mysql_init, referer: ...
and
dyld: lazy symbol binding failed: Symbol not found: _mysql_init, referer: ....
(This is from appache error_log since I am have cgi scripts which use DBD::Mysql)
Then I read some articles that it might be an issue of 32-bit an 64-bit incompatibilities.
Could anyone give me some advice on how to get DBD::Mysql up an running or at least how to find out what the problem really is.
Thanks in advance and best regards
macmartin
OS X Server