Dear Sir or Madam, I met a problem during using PETSc. /usr/bin/ld: /user/mewu/home/PETSc/arch-linux2-c-debug/lib/libpetsc.a(pinit.c.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /user/mewu/home/PETSc/arch-linux2-c-debug/lib/libpetsc.a(pinit.c.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC /user/mewu/home/PETSc/arch-linux2-c-debug/lib/libpetsc.a: could not read symbols: Bad value collect2: ld returned 1 exit state
I have recompiled PETSc with --cppflags="-fPIC". However, the problem is still there. Could you give me some suggestions? Best, Meng
