On Thu, 19 Nov 2015, Brian Cohen wrote:

Sorry one other thing... after running make and make test, the following error 
popped up...

Making check in tests
make[1]: Entering directory `/home/brian/libMesh/libmesh/tests'
(cd .. && make  libmesh_dbg.la)
make[2]: Entering directory `/home/brian/libMesh/libmesh'
  CXXLD    libmesh_dbg.la
/usr/bin/ld: /usr/local/lib/libnlopt.a(optimize.o): relocation R_X86_64_32S 
against `.text' can not be used when making a shared object;
recompile with -fPIC
/usr/local/lib/libnlopt.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
make[2]: *** [libmesh_dbg.la] Error 1
make[2]: Leaving directory `/home/brian/libMesh/libmesh'
make[1]: *** [../libmesh_dbg.la] Error 2
make[1]: Leaving directory `/home/brian/libMesh/libmesh/tests'
make: *** [check-recursive] Error 1

This looks like an issue with my nlopt installation.  Any advice?

Looks like you've got a static rather than a shared library for nlopt.
libMesh can be configured to use static libraries if you're desperate,
but a much better solution would be to configure nlopt to generate
shared libraries.
---
Roy
------------------------------------------------------------------------------
_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to