[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: perl DBD buidl problems

Corin Langosch <corinl@gmx.de> writes:

> Hi,
> i run the latest pure64 debian system here. when compiling the
> perl DBD::mysql package, the following error occurs. compiling
> DBI and mysql itself worked fine.
> --
> /usr/bin/ld: /usr/local/mysql/lib/mysql/libmysqlclient.a(libmysql.o): relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC
> /usr/local/mysql/lib/mysql/libmysqlclient.a: could not read symbols: Bad value
> collect2: ld returned 1 exit status
> make: *** [blib/arch/auto/DBD/mysql/mysql.so] Error 1
> netskin2:~/.cpan/build/DBD-mysql-2.9003#

As it says: recompile with -fPIC

Your libmysqlclient.a is buggy.


Reply to: