Subject: | Getting Relocation error while make |
Hi,
I am trying to install Data::Structure::Util on a server but i am
getting following error while running make
/usr/bin/perl Build
gcc -shared -o blib/arch/auto/Data/Structure/Util/Util.so
lib/Data/Structure/Util.o
/usr/bin/ld: lib/Data/Structure/Util.o: relocation R_X86_64_32 against
`a local symbol' can not be used when making a shared object; recompile
with -fPIC
lib/Data/Structure/Util.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
error building lib/Data/Structure/Util.o from
'lib/Data/Structure/Util.so' at
/usr/lib/perl5/site_perl/5.8.5/Module/Build/Base.pm line 1797.
make: *** [all] Error 2
Please help me out.
Thanks,
Anuj