[petsc-dev] configure fix needed!
Barry Smith
bsmith at mcs.anl.gov
Wed Oct 30 07:08:18 CDT 2013
I said it before but it needs to be said again. Whan PETSc is built with shared libraries configure needs to check all external libraries to see if they can be used with a shared library! This should produce a useful configure time error message not a terrible compile time problem
making shared libraries in /home/p264298/src/petsc-3.4.3/linux_gnu/lib
building libpetsc.so
/usr/bin/ld: /cm/shared/apps/lapack/gcc/64/3.2.1/liblapack.a(dgeev.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/cm/shared/apps/lapack/gcc/64/3.2.1/liblapack.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: [shared_linux] Error 1 (ignored)
More information about the petsc-dev
mailing list