[mpich-discuss] relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC

Luís Miranda luistm at gmail.com
Mon Oct 19 05:56:50 CDT 2009


Hi

I'm having this problem, when i try to compile my software in a rocks4.2
cluster.

/usr/bin/ld: /opt/mpich/myrinet/gnu/lib/libpmpich++.a(intercepts.o):
relocation R_X86_64_32S against `a local symbol' can not be used when making
a shared object; recompile with -fPIC
/opt/mpich/myrinet/gnu/lib/libpmpich++.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [bin/irradiancecache.so] Error 1

A solution to the problem, isto to compile the mpich with CFLAGS=-fPIC, but
i can't do this, becouse i'm not the cluster's admin.
Anyone knows any other workaround to the problem?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20091019/90b463a3/attachment.htm>


More information about the mpich-discuss mailing list