Building perl with -fPIC

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shankarhegde
    New Member
    • Mar 2008
    • 1

    Building perl with -fPIC

    Hi, Im trying to build perl and mod_perl on x86_64-linux machine and getting the following error, while compiling mod_perl

    Code:
    /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
    Last edited by eWish; Mar 10 '08, 09:34 PM. Reason: Please use [CODE][/CODE] tags for data as well.
  • eWish
    Recognized Expert Contributor
    • Jul 2007
    • 973

    #2
    I have never used mod_perl. Therefore, I am not able to offer much assistance. I would have a look at the mod_perl website online. If that does not work and other assistance is not offered here, then I would suggest posting your question on perlmonks.org

    --Kevin

    Comment

    Working...