cedadev / ceda-jaspy-envs

Conda (Jaspy) environments for CEDA/JASMIN
BSD 2-Clause "Simplified" License
5 stars 0 forks source link

ogr2ogr (from conda package libgdal) in Jaspy 2.7 has broken shared library dependencies #58

Closed alaniwi closed 3 years ago

alaniwi commented 3 years ago

After loading jaspy/2.7/r20190715 (the current Jaspy 2.7), get this:

$ ldd `which ogr2ogr` | grep 'not found'
libjpeg.so.8 => not found
libkea.so.1.4.5 => not found
libhdf5_hl.so.10 => not found
libhdf5_cpp.so.10 => not found
libhdf5.so.10 => not found
libjpeg.so.8 => not found
libkea.so.1.4.5 => not found
libhdf5_hl.so.10 => not found
libhdf5_cpp.so.10 => not found
libhdf5.so.10 => not found

These all appear to be older shared library version numbers from what is provided in $CONDA_PREFIX/lib, for example libjpeg.so.9.

This was raised in HelpScout query 41447. Because it is working in current Jaspy 3.7 (jaspy/3.7/r20200606) I have not promised that we can prioritise any fix, but there might be a compatible release of libgdal available. conda search libgdal finds a lot of releases, including a later 2.0.0 release (this one is 2.0.0-1 and there is a 2.0.0-2), but I haven't investigated further.

alaniwi commented 3 years ago

Noting that the specific user who reported a problem is happy with using the version in Jaspy 3.7. (See HelpScout query referenced above.)

alaniwi commented 3 years ago

No such "not found" errors in new candidate release, so we can close this.