Portal Home > Knowledgebase > Articles Database > Error while compiling perl module - gdlib


Error while compiling perl module - gdlib




Posted by NightMan, 09-12-2008, 10:44 PM
When I try to install the perl module for gdlib, I am getting following error: /usr/bin/ld: /usr/local/lib/libz.a(compress.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libz.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: *** [libgd.la] Error 1 make[2]: Leaving directory `/root/gd-2.0.35' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/gd-2.0.35' make: *** [all] Error 2 is there any solution? I am using CentOs 5.2.x x64

Posted by jseymour, 09-12-2008, 10:50 PM
Do you have development libraries installed?

Posted by NightMan, 09-13-2008, 05:39 AM
I am trying to install the GD.pm module for perl on this server. to do this I need to install the depencies first. I am able to install zlib and png but gdlib giving this error when I try to run the "make". what development lib. you mean?

Posted by NightMan, 09-15-2008, 06:33 AM
anyone??....



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Godaddy hacked! (Views: 665)
DedicatedNow Down ? (Views: 672)

Language: