Trouble installing Perl modules

eabris

Verified User
Joined
Jun 10, 2009
Messages
18
Location
Hungary
Hi,

I can't install a few Perl modules, I tried with cpan and manually both unsuccessful.

This is the tail of the DBD::mysql make:

Running Mkbootstrap for DBD::mysql ()
chmod 644 mysql.bs
rm -f blib/arch/auto/DBD/mysql/mysql.so
LD_RUN_PATH="/usr/lib" /usr/local/bin/perl myld cc -shared -L/usr/local/lib -fstack-protector dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql.so -L/usr/local/mysql/lib/mysql -lmysqlclient -lz -lcrypt -lm -lmygcc
/usr/bin/ld: /usr/local/mysql/lib/mysql/libmysqlclient.a(my_init.o): relocation R_X86_64_32 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
*** Error code 1

Stop in /src/DBD-mysql-3.0002.

I reinstalled mysql --with-pic and got the same error. I couldn't find any other a solution.

FreeBSD 7.2 x64

Thans,
Abraham
 
Back
Top