Linking Static Library to PETSc code

Mads Hoel mfhoel at ifi.uio.no
Fri Nov 16 10:24:06 CST 2007


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

> 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:
http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&chap=3

-- 
Mads Hoel




More information about the petsc-users mailing list