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

[THREDDS #UZH-547818]: Unable to load NetCDF4 library



Greetings Anders,

Is it possible that you have an older version of JNA on your system? One
way you can test is to pass the JVM this flag:

-Djna.nosys=true

You can set this flag in Tomcat's setenv.sh. This will force the JVM to use
the JNA libs that it is shipped with.

Cheers,

Sean

> At this point, I am baffled. Not sure how to proceed.
> [Christian, any ideas?]
> =Dennis Heimbigner
> Unidata
> 
> Hello,
> 
> The netcdf library seems to be happy:
> 
> $ ldd /usr/lib64/libnetcdf.so.7.2.0
> linux-vdso.so.1 =>  (0x00007ffd577ef000)
> libhdf5_hl.so.8 => /lib64/libhdf5_hl.so.8 (0x00007f03a809f000)
> libhdf5.so.8 => /lib64/libhdf5.so.8 (0x00007f03a7aa4000)
> libm.so.6 => /lib64/libm.so.6 (0x00007f03a77a1000)
> libcurl.so.4 => /lib64/libcurl.so.4 (0x00007f03a7539000)
> libz.so.1 => /lib64/libz.so.1 (0x00007f03a7323000)
> libjpeg.so.62 => /lib64/libjpeg.so.62 (0x00007f03a70cd000)
> libc.so.6 => /lib64/libc.so.6 (0x00007f03a6d0c000)
> libdl.so.2 => /lib64/libdl.so.2 (0x00007f03a6b08000)
> libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f03a68f1000)
> libidn.so.11 => /lib64/libidn.so.11 (0x00007f03a66be000)
> libssh2.so.1 => /lib64/libssh2.so.1 (0x00007f03a6494000)
> libssl3.so => /lib64/libssl3.so (0x00007f03a6250000)
> libsmime3.so => /lib64/libsmime3.so (0x00007f03a6029000)
> libnss3.so => /lib64/libnss3.so (0x00007f03a5d03000)
> libnssutil3.so => /lib64/libnssutil3.so (0x00007f03a5ad6000)
> libplds4.so => /lib64/libplds4.so (0x00007f03a58d2000)
> libplc4.so => /lib64/libplc4.so (0x00007f03a56cd000)
> libnspr4.so => /lib64/libnspr4.so (0x00007f03a548e000)
> libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f03a5272000)
> libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00007f03a5026000)
> libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007f03a4d40000)
> libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007f03a4b0e000)
> libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007f03a490a000)
> liblber-2.4.so.2 => /lib64/liblber-2.4.so.2 (0x00007f03a46fa000)
> libldap-2.4.so.2 => /lib64/libldap-2.4.so.2 (0x00007f03a44a7000)
> /lib64/ld-linux-x86-64.so.2 (0x00007f03a86d4000)
> libssl.so.10 => /lib64/libssl.so.10 (0x00007f03a4239000)
> libcrypto.so.10 => /lib64/libcrypto.so.10 (0x00007f03a3e51000)
> librt.so.1 => /lib64/librt.so.1 (0x00007f03a3c48000)
> libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x00007f03a3a39000)
> libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007f03a3835000)
> libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f03a361a000)
> libsasl2.so.3 => /lib64/libsasl2.so.3 (0x00007f03a33fd000)
> libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f03a31d7000)
> libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007f03a2fa0000)
> libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f03a2d3f000)
> liblzma.so.5 => /lib64/liblzma.so.5 (0x00007f03a2b19000)
> libfreebl3.so => /lib64/libfreebl3.so (0x00007f03a2916000)
> 
> Regards
> Anders
> ________________________________________
> Från: Unidata THREDDS Support [address@hidden]
> Skickat: den 17 oktober 2016 23:19
> Till: Hartman Anders
> Kopia: address@hidden
> Ämne: [THREDDS #UZH-547818]: Unable to load NetCDF4 library
> 
> Another thing to do is use the ldd command
> on the shared library; this will list its required libraries
> such as libhdf.
> e.g. lcc /usr/lib64/libnetcdf.so
> =Dennis Heimbigner
> Unidata
> 
> 
> Ticket Details
> ===================
> Ticket ID: UZH-547818
> Department: Support THREDDS
> Priority: Normal
> Status: Open
> ===================
> 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 Details
===================
Ticket ID: UZH-547818
Department: Support THREDDS
Priority: Normal
Status: Open
===================
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.