On Mon, 13 Aug 2012, Kyunghoon Lee wrote: > I got a lot of "undefined reference" errors when I was building libmesh on > my Ubuntu such as > > /home/aeronova/Development/local/share/libmesh/lib/x86_64-unknown-linux-gnu_dbg/libmesh.so: > undefined reference to `EPSComputeRelativeError(_p_EPS*, int, double*)'
> It seems the link errors are related to petsc, so I specified the petsc > location with LD_LIBRARY_PATH as follows: > > export > LD_LIBRARY_PATH=/home/aeronova/Development/local/lib/petsc/3.3-p2-real/lib > However, I still get the same error, which makes me confused. It sounds like there's possibly a conflict between two different PETSc versions on your system. If you have Ubuntu's PETSc installed in /usr/lib and if your libMesh configuration is linking to /usr/lib for any other reason (autodetected vtk, glpk, whatever), then that may be the problem. --- Roy ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
