[MITgcm-support] libnetcdff.so.5 not found!

taimaz.bahadory taimaz.bahadory at mun.ca
Thu Jul 26 10:19:14 EDT 2012


Thanks for your reply;
Yes, the problem was with the LD_LIBRARY_PATH. I added the address of
libnetcdff.so.5, and it worked.
Thanks again


On Thu, Jul 26, 2012 at 11:30 AM, Martin Losch <Martin.Losch at awi.de> wrote:

> Taimaz,
>
> this is very likely a problem, that you have to solve with your system
> administrator. *.so.* are dynamic libraries that are loaded only at
> runtime. The system needs to know where these libraries are at runtime.
> Maybe you need to set some environment variable, such as LD_LIBRARY_PARTH,
> check with your sys-admin.
> Alternatively you can compile with static libraries (you need to tell your
> compiler with appriopriate flags).
>
> M.
>
> On Jul 26, 2012, at 3:04 PM, taimaz.bahadory wrote:
>
> > Hi;
> >
> > I'm trying to run mitgcm on a queue system, which has netCDF installed
> on it. The make file doesn't generate any error on not being able to find
> the netCDF while compiling, but when I want to run the compiled mitgcmuv
> file, it says:
> > "./mitgcmuv: error while loading shared libraries: libnetcdff.so.5:
> cannot open shared object file: No such file or directory"
> > but I can see the "libnetcdff.so.5" in the lib directory of where netCDF
> is installed (I don't know why mitgcm cannot locate it)
> > Has anyone faced such problem before?
> > _______________________________________________
> > MITgcm-support mailing list
> > MITgcm-support at mitgcm.org
> > http://mitgcm.org/mailman/listinfo/mitgcm-support
>
>
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20120726/0c9b9849/attachment.htm>


More information about the MITgcm-support mailing list