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

[netCDF #QHZ-683547]: NetCDF-C installation



Hello,

libimf.so appears to be a component of the intel compiler runtime.  I assume 
the other libraries represent similar dependencies.  This suggests to me that 
the directory containing these libraries is not a standard location.   
Normally, you will correct this by setting the `LD_LIBRARY_PATH` environmental 
variable.  I did a little bit of research, and I believe that this is the 
solution for the issue you're seeing.  The linker is unable to find these 
libraries, and must be told where they are.

See 
https://software.intel.com/en-us/forums/intel-fortran-compiler-for-linux-and-mac-os-x/topic/268431
 for more information; while the error is not exactly the same as what you are 
observing, I believe that the solution is the same. 

I hope this helps!

-Ward

> Unidata User Support:
> 
> More information regarding to my Ticket.
> 
> After I run command './configure --prefix=/home/libtest', I wun the command
> 'make'.  It shows the following error message:
> 
> ld: warning: libimf.so, needed by ../liblib/.libs/libnetcdf.so, not found
> (try using -rpath or -rpath-link)
> ld: warning: libsvml.so, needed by ../liblib/.libs/libnetcdf.so, not found
> (try using -rpath or -rpath-link)
> ld: warning: libirng.so, needed by ../liblib/.libs/libnetcdf.so, not found
> (try using -rpath or -rpath-link)
> ld: warning: libintlc.so.5, needed by ../liblib/.libs/libnetcdf.so, not
> found (try using -rpath or -rpath-link)
> ld: .libs/ncgen3: hidden symbol `__intel_cpu_features_init_x' in
> /opt/intel/compilers_and_libraries_2018.3.222/linux/compiler/lib/intel64_lin/libirc.a(cpu_feature_disp.o)
> is referenced by DSO
> ld: final link failed: Bad value
> make[2]: *** [ncgen3] Error 1
> make[2]: Leaving directory `/home/libtest/netcdf-4.6.1/ncgen3'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/libtest/netcdf-4.6.1'
> make: *** [all] Error 2
> 
> The libimf.so, libsvml.so, libirng.so, and libintlc.so.5 are installed at:
> /opt/intel/compilers_and_libraries_2018.3.222/linux/compiler/lib/ia32_lin/libimf.so
> /opt/intel/compilers_and_libraries_2018.3.222/linux/compiler/lib/intel64_lin/libimf.so
> /opt/intel/compilers_and_libraries_2018.3.222/linux/compiler/lib/ia32_lin/libsvml.so
> /opt/intel/compilers_and_libraries_2018.3.222/linux/compiler/lib/intel64_lin/libsvml.so
> /opt/intel/compilers_and_libraries_2018.3.222/linux/compiler/lib/ia32_lin/libirng.so
> /opt/intel/compilers_and_libraries_2018.3.222/linux/compiler/lib/intel64_lin/libirng.so
> /opt/intel/compilers_and_libraries_2018.3.222/linux/compiler/lib/ia32_lin/libintlc.so.5
> /opt/intel/compilers_and_libraries_2018.3.222/linux/compiler/lib/intel64_lin/libintlc.so.5
> 
> Why these libraries can not be found?
> 
> Thanks,
> Lianyuan
> 
> address@hidden> wrote:
> 
> >
> > Lianyuan Zheng - NOAA Federal,
> >
> > Your Ticket has been received, and a Unidata staff member will review it
> > and reply accordingly. Listed below are details of this new Ticket. Please
> > make sure the Ticket ID remains in the Subject: line on all correspondence
> > related to this Ticket.
> >
> > 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.
> >
> >     Ticket ID: QHZ-683547
> >     Subject: NetCDF-C installation
> >     Department: Support netCDF
> >     Priority: Normal
> >     Status: Open
> >
> >
> >
> > The NetCDF libraries are developed at the Unidata Program Center,
> > in Boulder, Colorado, funded primarily by the National Science Foundation.
> >
> > All support requests are handled by the development team. No dedicated
> > support staff are funded at this time. For this reason we cannot guarantee
> > response times, nor that we can resolve every support issue, although we
> > do our best to respond within 72 hours.
> >
> > It is in the nature of support requests that the same question is asked
> > many
> > times. We urge you to search the support archives for material relating to
> > your support request:
> >
> > http://www.unidata.ucar.edu/search.jsp?support&netcdf
> >
> > If you are having trouble building netCDF, please take a look at the
> > "Building NetCDF" page:
> >
> > http://www.unidata.ucar.edu/software/netcdf/docs/building.html
> >
> > or the (unfortunately somewhat out-of-date) NetCDF Build Troubleshooter
> > page:
> >
> > http://www.unidata.ucar.edu/software/netcdf/docs/troubleshoot.html
> >
> > Windows users should see the FAQ list:
> >
> > http://www.unidata.ucar.edu/software/netcdf/docs/faq.html#
> > windows_netcdf4_2
> >
> > Complete documentation (including a tutorial, and sample programs in C,
> > Fortran,
> > Java, and other programming languages) can be found on the netCDF
> > Documentation page:
> >
> > http://www.unidata.ucar.edu/software/netcdf/docs/
> > http://www.unidata.ucar.edu/software/netcdf/examples/programs/
> >
> > If you resolve your issue through one of these methods, please send a
> > reply to
> > this email, letting us know that you no longer need support. This will help
> > us spend more time on netCDF development.
> >
> > Best regards,
> >
> > Unidata User Support
> >
> >
> 
> 
> --
> Lianyuan Zheng
> Physical Scientist
> NOAA/National Ocean Service
> Center for Operational Oceanographic Products and Services
> 1305 East West Highway, SSMC4, Station 7340
> Silver Spring, MD 20910
> Office: 240-533-0550
> Email: address@hidden
> 
> 
> Unidata User Support:
> 
> More information regarding to my Ticket.
> 
> After I run command './configure --prefix=/home/libtest', I wun the command
> 'make'.  It shows the following error message:
> 
> ld: warning: libimf.so, needed by ../liblib/.libs/libnetcdf.so, not found
> (try using -rpath or -rpath-link)
> ld: warning: libsvml.so, needed by ../liblib/.libs/libnetcdf.so, not found
> (try using -rpath or -rpath-link)
> ld: warning: libirng.so, needed by ../liblib/.libs/libnetcdf.so, not found
> (try using -rpath or -rpath-link)
> ld: warning: libintlc.so.5, needed by ../liblib/.libs/libnetcdf.so, not
> found (try using -rpath or -rpath-link)
> ld: .libs/ncgen3: hidden symbol `__intel_cpu_features_init_x' in
> /opt/intel/compilers_and_libraries_2018.3.222/linux/compiler/lib/intel64_lin/libirc.a(cpu_feature_disp.o)
> is referenced by DSO
> ld: final link failed: Bad value
> make[2]: *** [ncgen3] Error 1
> make[2]: Leaving directory `/home/libtest/netcdf-4.6.1/ncgen3'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/libtest/netcdf-4.6.1'
> make: *** [all] Error 2
> 
> The libimf.so, libsvml.so, libirng.so, and libintlc.so.5 are installed at:
> /opt/intel/compilers_and_libraries_2018.3.222/linux/compiler/lib/ia32_lin/libimf.so
> /opt/intel/compilers_and_libraries_2018.3.222/linux/compiler/lib/intel64_lin/libimf.so
> /opt/intel/compilers_and_libraries_2018.3.222/linux/compiler/lib/ia32_lin/libsvml.so
> /opt/intel/compilers_and_libraries_2018.3.222/linux/compiler/lib/intel64_lin/libsvml.so
> /opt/intel/compilers_and_libraries_2018.3.222/linux/compiler/lib/ia32_lin/libirng.so
> /opt/intel/compilers_and_libraries_2018.3.222/linux/compiler/lib/intel64_lin/libirng.so
> /opt/intel/compilers_and_libraries_2018.3.222/linux/compiler/lib/ia32_lin/libintlc.so.5
> /opt/intel/compilers_and_libraries_2018.3.222/linux/compiler/lib/intel64_lin/libintlc.so.5
> 
> Why these libraries can not be found?
> 
> Thanks,
> Lianyuan
> 
> address@hidden> wrote:
> 
> >
> > Lianyuan Zheng - NOAA Federal,
> >
> > Your Ticket has been received, and a Unidata staff member will review it
> > and reply accordingly. Listed below are details of this new Ticket. Please
> > make sure the Ticket ID remains in the Subject: line on all correspondence
> > related to this Ticket.
> >
> > 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.
> >
> >     Ticket ID: QHZ-683547
> >     Subject: NetCDF-C installation
> >     Department: Support netCDF
> >     Priority: Normal
> >     Status: Open
> >
> >
> >
> > The NetCDF libraries are developed at the Unidata Program Center,
> > in Boulder, Colorado, funded primarily by the National Science Foundation.
> >
> > All support requests are handled by the development team. No dedicated
> > support staff are funded at this time. For this reason we cannot guarantee
> > response times, nor that we can resolve every support issue, although we
> > do our best to respond within 72 hours.
> >
> > It is in the nature of support requests that the same question is asked
> > many
> > times. We urge you to search the support archives for material relating to
> > your support request:
> >
> > http://www.unidata.ucar.edu/search.jsp?support&netcdf
> >
> > If you are having trouble building netCDF, please take a look at the
> > "Building NetCDF" page:
> >
> > http://www.unidata.ucar.edu/software/netcdf/docs/building.html
> >
> > or the (unfortunately somewhat out-of-date) NetCDF Build Troubleshooter
> > page:
> >
> > http://www.unidata.ucar.edu/software/netcdf/docs/troubleshoot.html
> >
> > Windows users should see the FAQ list:
> >
> > http://www.unidata.ucar.edu/software/netcdf/docs/faq.html#
> > windows_netcdf4_2
> >
> > Complete documentation (including a tutorial, and sample programs in C,
> > Fortran,
> > Java, and other programming languages) can be found on the netCDF
> > Documentation page:
> >
> > http://www.unidata.ucar.edu/software/netcdf/docs/
> > http://www.unidata.ucar.edu/software/netcdf/examples/programs/
> >
> > If you resolve your issue through one of these methods, please send a
> > reply to
> > this email, letting us know that you no longer need support. This will help
> > us spend more time on netCDF development.
> >
> > Best regards,
> >
> > Unidata User Support
> >
> >
> 
> 
> --
> Lianyuan Zheng
> Physical Scientist
> NOAA/National Ocean Service
> Center for Operational Oceanographic Products and Services
> 1305 East West Highway, SSMC4, Station 7340
> Silver Spring, MD 20910
> Office: 240-533-0550
> Email: address@hidden
> 
> 


Ticket Details
===================
Ticket ID: QHZ-683547
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.