[CIG-SHORT] Trouble Updating PyLith

Jeffrey Thompson jeffremt at gmail.com
Fri Sep 10 11:07:13 PDT 2010


Hi,

I'm trying to update PyLith and I'm running into trouble successfully making
it.  I get the following error:

/usr/bin/ld:
/home/jeffremt/tools/petsc-dev/linux_gcc-4.1.1_64_opt/lib/libpetsc.a(filev.o):
relocation R_X86_64_32S against `a local symbol' can not be used when making
a shared object; recompile with -fPIC
/home/jeffremt/tools/petsc-dev/linux_gcc-4.1.1_64_opt/lib/libpetsc.a: could
not read symbols: Bad value
collect2: ld returned 1 exit status
make[3]: *** [libpylith.la] Error 1
make[3]: Leaving directory `/home/jeffremt/tools/cig/pylith/libsrc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/jeffremt/tools/cig/pylith/libsrc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jeffremt/tools/cig/pylith'
make: *** [all] Error 2

I'm confused about the suggestion to "recompile with -fPIC."  Is this saying
I should recompile PyLith or PETSc using this option?  I've attached my
PETSc and PyLith configuration files, as well as the config.log and
configure.log from PyLith to this email in case these are helpful.

Thanks,
Jeff Thompson
California Institute of Technology

PS, I've got PETSc version 3.1.0.4, Spatialdata version 0.6.0, and the most
recent (as of this email) pull of PyLith (revision 17183).  All the other
needed programs are at the recommended version or more recent.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://geodynamics.org/pipermail/cig-short/attachments/20100910/16fb21f9/attachment-0001.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: text/x-log
Size: 85815 bytes
Desc: not available
Url : http://geodynamics.org/pipermail/cig-short/attachments/20100910/16fb21f9/attachment-0002.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.log
Type: text/x-log
Size: 14465 bytes
Desc: not available
Url : http://geodynamics.org/pipermail/cig-short/attachments/20100910/16fb21f9/attachment-0003.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: petscdev.sh
Type: application/x-sh
Size: 1201 bytes
Desc: not available
Url : http://geodynamics.org/pipermail/cig-short/attachments/20100910/16fb21f9/attachment-0002.sh 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pylith.sh
Type: application/x-sh
Size: 598 bytes
Desc: not available
Url : http://geodynamics.org/pipermail/cig-short/attachments/20100910/16fb21f9/attachment-0003.sh 


More information about the CIG-SHORT mailing list