Linking Static Library to PETSc code

Mads Hoel mfhoel at
Fri Nov 16 10:24:06 CST 2007

On Fri, 16 Nov 2007 16:12:15 +0100, Tim Stitt <timothy.stitt at>  

> could not read symbols: Bad value

I haven't seen that error message before, but i looked it up in a search  
engine and got 4 cases that might be the solution to your problem,  
suggesting to recompile the static library with -fPIC:

Mads Hoel

More information about the petsc-users mailing list