Hello, So I notice a couple of issues. First, it appears that you have multiple versions of libnetcdf installed on your system. This may cause some conflicts, and if you're able to resolve it and preserve only the latest version, that would be preferable. Second, netCDF-Fortran 4.4.4 requires a later version of libnetcdf than 4.3.3, unfortunately. The error you're seeing is a bug that was documented and fixed in subsequent releases. I would try downloading and installing the latest libnetcdf version, 4.7.4, from https://github.com/Unidata/netcdf-c/releases, and try with that. Thank you, have a great day, -Ward > Full Name: Franklyn Ngundam > Email Address: address@hidden > Organization: NOAA > Package Version: netcdf-4.3.3.tar.gz > Operating System: RHEL 2.6.32-754.25.1.el6.x86_64 > Hardware: > Description of problem: Good morning Sir/Madame, > > I am encountering some issues install netcdf fortran. I have already > installed netcdf c successfully but I am having issues when configure > netcdf-fortran. These are the packages I am using. > netcdf-fortran-4.4.4.tar > netcdf-4.3.3.tar.gz > > I only get an error when running "make check" under netcdf-fortran-4.4.4 > > Error is as follows > /usr/bin/ld: warning: libnetcdf.so.6, needed by > /cpc/home/jieshun.zhu/tool/netcdf_insncdf/lib/libnetcdf.so, may conflict with > libnetcdf.so.7 > ../fortran/.libs/libnetcdff.so: undefined reference to `nc_open_mem' > collect2: ld returned 1 exit status > make[2]: *** [nf_test] Error 1 > make[2]: Leaving directory > `/cpc/home/jieshun.zhu/tool/netcdf_src/netcdf-fortran-4.4.4/nf_test' > make[1]: *** [check-am] Error 2 > make[1]: Leaving directory > `/cpc/home/jieshun.zhu/tool/netcdf_src/netcdf-fortran-4.4.4/nf_test' > make: *** [check-recursive] Error 1 > > > I have also attached config.log > > These are the variables I used > > export NCDIR=/cpc/home/jieshun.zhu/tool/netcdf_insncdf > export NFDIR=/cpc/home/jieshun.zhu/tool/netcdf_insncdf > export CPPFLAGS=" -I/cpc/home/jieshun.zhu/tool/netcdf_insncdf/include" > export LDFLAGS=" -L/cpc/home/jieshun.zhu/tool/netcdf_insncdf/lib" > export > LD_LIBRARY_PATH=$LD_LIBARY_PATH:/cpc/home/jieshun.zhu/tool/netcdf_insncdf/lib > export LIBS=$LIBS" -lnetcdf" > > I am also seeing these lines in config.log > > ACLOCAL='${SHELL} > /cpc/home/jieshun.zhu/tool/netcdf_src/netcdf-fortran-4.4.4/missing > aclocal-1.14' > AUTOCONF='${SHELL} > /cpc/home/jieshun.zhu/tool/netcdf_src/netcdf-fortran-4.4.4/missing autoconf' > AUTOHEADER='${SHELL} > /cpc/home/jieshun.zhu/tool/netcdf_src/netcdf-fortran-4.4.4/missing autoheader' > AUTOMAKE='${SHELL} > /cpc/home/jieshun.zhu/tool/netcdf_src/netcdf-fortran-4.4.4/missing > automake-1.14' > MAKEINFO='${SHELL} > /cpc/home/jieshun.zhu/tool/netcdf_src/netcdf-fortran-4.4.4/missing makeinfo' > > bnetcdf.so.7 > /usr/bin/ld: warning: libnetcdf.so.6, needed by > /cpc/home/jieshun.zhu/tool/netcdf_insncdf/lib/libnetcdf.so, may conflict with > libnetcdf.so.7 > /usr/bin/ld: warning: libnetcdf.so.6, needed by > /cpc/home/jieshun.zhu/tool/netcdf_insncdf/lib/libnetcdf.so, may conflict with > libnetcdf.so.7 > /usr/bin/ld: warning: libnetcdf.so.6, needed by > /cpc/home/jieshun.zhu/tool/netcdf_insncdf/lib/libnetcdf.so, may conflict with > libnetcdf.so.7 > /usr/bin/ld: warning: libnetcdf.so.6, needed by > /cpc/home/jieshun.zhu/tool/netcdf_insncdf/lib/libnetcdf.so, may conflict with > libnetcdf.so.7 > /usr/bin/ld: warning: libnetcdf.so.6, needed by > /cpc/home/jieshun.zhu/tool/netcdf_insncdf/lib/libnetcdf.so, may conflict with > libnetcdf.so.7 > > > Please can you point me to the right direction? > > Thanks > > Franklyn > > > > Ticket Details =================== Ticket ID: AUL-358920 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.
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.