Hello Folks,

I am trying to build LIBMESH on Fedora 18. I built PETSc and ran
make tests and make testexamples_uni and results were clean.
When running the make command for LIBMESH, I run into the error:

CXXLD    libmesh_dbg.la
/usr/bin/ld:
/home/namu/SOFTWARES/LIBRARIESIBAMR/PETSc/3.3-p7/linux/lib/libpetsc.a(filev.c.o):
relocation R_X86_64_32S against `.rodata' can not be used when making a
shared object; recompile with -fPIC
/home/namu/SOFTWARES/LIBRARIESIBAMR/PETSc/3.3-p7/linux/lib/libpetsc.a:
could not read symbols: Bad value
collect2: error: ld returned 1 exit status
make[1]: *** [libmesh_dbg.la] Error 1
make[1]: Leaving directory
`/home/namu/SOFTWARES/LIBRARIESIBAMR/LIBMESH/0.9.1'
make: *** [all-recursive] Error 1

The configuration I used was:

PETSC_DIR=$HOME/SOFTWARES/LIBRARIESIBAMR/PETSc/3.3-p7
PETSC_ARCH=linux
./configure --prefix=$HOME/SOFTWARES/LIBRARIESIBAMR/LIBMESH/0.9.1/linux
CC=gcc CXX=g++ FC=gfortran F77=gfortran --with-boost=yes --with-methods=dbg
--enable-everything

I rebuilt PETSc just to make sure that things were fine with that library
and then tried rebuilding LIBMESH with no luck. I will appreciate any help
on trying to resolve this error.

Thank you,
namu
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to