import error on quantal with netcdf 4.2

Asked by Chaffra Affouda on 2013-02-09

I am getting this error when building on quantal with netcdf ppa from nico. Also make test no longer works. Has it been removed?

ImportError: libnetcdf.so.7: cannot open shared object file: No such file or directory

Question information

Language:
English Edit question
Status:
Solved
For:
DOLFIN Edit question
Assignee:
No assignee Edit question
Solved by:
Johannes Ring
Solved:
2013-02-09
Last query:
2013-02-09
Last reply:
2013-02-09
Best Johannes Ring (johannr) said : #1

libnetcdf.so.7 is in the libnetcdfc7 package in Quantal:

http://packages.ubuntu.com/quantal/amd64/libnetcdfc7/filelist

Do you get this when building DOLFIN? I don't see why you should. DOLFIN doesn't link with NetCDF AFAIK. However, FIAT uses ScientificPython, which again uses NetCDF.

"make test" should work if you configure DOLFIN with -DDOLFIN_ENABLE_TESTING:BOOL=ON.

Chaffra Affouda (chaffra) said : #2

The netcdf library from vhttp://ppa.launchpad.net/nschloe/trilinos-nightly/ubuntu does not have the right links then but it's needed for trilinos 11.

Thanks Johannes.

Chaffra Affouda (chaffra) said : #3

Thanks Johannes Ring, that solved my question.