[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netCDF #CGM-188292]: /usr/bin/ld: cannot find -lnetcdf
- Subject: [netCDF #CGM-188292]: /usr/bin/ld: cannot find -lnetcdf
- Date: Fri, 05 Dec 2008 09:38:05 -0700
Hi Steve,
Since the last pgf95 invocation is missing a -L argument to specify
the directory in which the netCDF library is installed, you are counting
on the LD_LIBRARY_PATH environment variable to make /usar/bin/ld look in
all the right places. In that case, make sure the directory where you think
netCDF is installed is listed among the LD_LIBRARY_PATH directories of the user
who is getting this error message. Also, if you are using shared libraries,
make sure libnetcdf.so in the directory where the library is installed is
linked to the actual shared library object, which will have a longer name such
as libnetcdf.so.4.0.0.
--Russ
Russ Rew UCAR Unidata Program
address@hidden http://www.unidata.ucar.edu
Ticket Details
===================
Ticket ID: CGM-188292
Department: Support netCDF
Priority: Normal
Status: Closed