
shankarhegde
New User
Mar 10, 2008, 4:41 AM
Post #1 of 2
(15581 views)
|
Building perl with -fPIC
|
Can't Post
|
|
Hi, Im trying to build perl and mod_perl on x86_64-linux machine and getting the following error, while compiling mod_perl /usr/bin/ld: /usr/genie/common-1.18/perl-5.8.8/lib/5.8.8/x86_64-linux/auto/DynaLoader/DynaLoader.a(DynaLoader.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/genie/common-1.18/perl-5.8.8/lib/5.8.8/x86_64-linux/auto/DynaLoader/DynaLoader.a: could not read symbols: Bad value Im very new to perl and dont know how to build perl with -fPIC. Can anybody please help. Thanks in advance. Shankar Hegde
|