Quoting Tiago Lopes <tiagojab@stripped>:
> the situation is the following: I compiled Perl 5.8.0,
> mysql 3.23.53, Perl 5.8.0, DBI 1.32, and DBD-2.10.24
> with gcc v2.95.3 and ld (unknow version) and as
> 2.11.2, and make v3.8.
> And I'm using Solaris 8 (SUN_OS 5.8).
> Evething was ok, except DBD, that fails on the 'make
> test' step.
> Then, I made a simple script in perl to show the
> drives and connect with the database by DBI:mysql. And
> the message I received was:
> Available Drivers: ExampleP, Proxy, mysql
> ld.so.1: /usr/local/bin/perl: fatal: relocation error:
> symbol mysql_init: referenced symbol not found
This is most probably due to problems with shared libraries.
Try to use the static library "libmysqlclient.a" by changing
the value of --libs when invoking the Makefile.PL. For example,
if you currently have
then change that to
Let me know the result.