On Mon, 7 Jul 2014, Miguel Angel Salazar de Troya wrote:

> I ran the bootstrap script (just run it once) and it could detect the new 
> files, but I got an error during the compilation:
> /usr/bin/ld: src/apps/meshid_opt-meshid.o: undefined reference to symbol 
> 'nc_close'
> /usr/local/lib/libnetcdf.so.7: error adding symbols: DSO missing from command 
> line
> collect2: error: ld returned 1 exit status
> 
> I have netcdf enabled in the configuration. I didn't have this problem before 
> I ran the bootstrap script. I'm sorry not to provide more details,
> but I've no idea why this error happens because I know very little about 
> automake or autoconf tools and I could not find much on the internet. i
> think it's a problem of dependencies, but that's all.

The bootstrap script seems to be a bit of a red herring: the real
problems seems to be a conflict between the libnetcdf.so.7 that
libMesh is trying to install and the one you've already got in
/usr/lib/

Usually when I see a conflict like that I throw up my hands and
uninstall whatever outdated conflicting dependency version was in
/usr.  *Everything* and its dependencies tend to want /usr in your
include/link paths, which is a big problem if there are outdated,
conflicting libraries there.

But this time... I'm not sure why I'm failing to replicate this (I've
got /usr/lib/libnetcdf.so.7.1.1 on my system, which is likewise
missing symbols that our libnetcdf.so.7.2.0 would have provided),
and whatever is saving me might point to a better solution for you.
Send me your libmesh_opt.la and contrib/netcdf/v4/liblib/libnetcdf.la
files?  What version of libtool are you using?
---
Roy

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to