[MITgcm-support] error: libraries: libnetcdf.so.7: cannot open shared object file: (Madhu)

Avi goz avigoz at gmail.com
Thu Feb 23 12:36:04 EST 2012


Hi ,

add to your .bashrc:

export LD_LIBRARY_PATH=/usr/local/netcdf/4.1.2/lib:......
(add anything else that usually fits here, instead of the ".....")

and also:

export NETCDF=/usr/local/netcdf/4.1.2
export NETCDF_ROOT=/usr/local/netcdf/4.1.2

(if these directories do not exist, then replace them in the above with the
actual directory where netcdf exist)


the failure is probably due to the addition of the directory 4.1.2 to the
directory structure of netcdf, which was missing in earlier versions

Regards,

Avi Gozolchiani
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20120223/085ee96e/attachment.htm>


More information about the MITgcm-support mailing list