[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #BZB-868137]: netcdf-fortran



Hi Steve,

I'm glad you were able to find the source code files.  Regarding the errors 
you're seeing below, it appears that libnetcdf (the C library) is not on your 
system LD_LIBRARY_PATH; this is not uncommon on newer linux systems using 
`/usr/local/lib` as a location, or on systems where the C library is in a 
non-standard location.  

You will need to set your LD_LIBRARY_PATH environmental variable to reflect the 
location containing libnetcdf.so.  Because this error is occurring at runtime 
and not during compilation, I presume your CFLAGS and LDFLAGS are set correctly 
to find libnetcdf.so in the first place, otherwise you would be seeing an error 
during `make`.  

If you can provide your `config.log` I will try to use it to provide a specific 
LD_LIBRARY_PATH value, but it should be pretty straightforward to figure out; 
it will be the specific location containing libnetcdf.so.

I hope this helps, have a great day,

-Ward

> Hi,
> 
> My build of netcdf-fortran went perfectly.  But the "make check" is giving
> me:
> 
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_put_vara_short'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_get_vara_short'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_get_att_float'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_get_vara_schar'
> 
> Is there any need for concern with these messages?
> 
> TIA,
> Steve
> 
> 
> 


Ticket Details
===================
Ticket ID: BZB-868137
Department: Support netCDF
Priority: Normal
Status: Closed
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.