- changed status to resolved
Linking fails against static PETSc libs on Ubuntu 16.10
Issue #773
resolved
If PETSc is built with static libs, I get
/usr/bin/ld: /home/garth/local/packages/petsc-dbg/lib/libpetsc.a(verboseinfo.o): relocation R_X86_64_PC32 against symbol `petscstack' can not be used when making a shared object; recompile with -fPIC
This could be a PETSc bug, see https://bitbucket.org/petsc/petsc/issues/132/fpic-not-added-on-next-ubuntu-1610.
Comments (1)
-
reporter - Log in to comment