hdf5 and python2-h5py shared lib version mismatch

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

hdf5 and python2-h5py shared lib version mismatch

Postby paulmelis » Tue May 17, 2016 8:36 am

Hi,

The current hdf5 package provides /usr/lib/libhdf5.so.100, while the current python2-h5py package needs a version .10 shared lib (see below). As I can't find why the hdf5 package includes the .so.100 version (the regular x86_64 package has .so.10) I can't create a pull request and hence report it here...

$this->bbcode_second_pass_code('', '
pi@alarmpi ~ $ python2 -c 'import h5py'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python2.7/site-packages/h5py/__init__.py", line 24, in <module>
from . import _errors
ImportError: libhdf5.so.10: cannot open shared object file: No such file or directory

pi@alarmpi ~ $ ldd /usr/lib/python2.7/site-packages/h5py/_errors.so
linux-vdso.so.1 (0x7ef77000)
libhdf5.so.10 => not found
libpython2.7.so.1.0 => /usr/lib/libpython2.7.so.1.0 (0x76ddb000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x76db2000)
libc.so.6 => /usr/lib/libc.so.6 (0x76c76000)
/usr/lib/ld-linux-armhf.so.3 (0x54b75000)
libdl.so.2 => /usr/lib/libdl.so.2 (0x76c60000)
libutil.so.1 => /usr/lib/libutil.so.1 (0x76c4b000)
libm.so.6 => /usr/lib/libm.so.6 (0x76bcb000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x76b9f000)

pi@alarmpi ~ $ ls -l /usr/lib/libhdf5.so*
lrwxrwxrwx 1 root root 18 May 2 15:45 /usr/lib/libhdf5.so -> libhdf5.so.100.0.0
lrwxrwxrwx 1 root root 18 May 2 15:45 /usr/lib/libhdf5.so.100 -> libhdf5.so.100.0.0
-rwxr-xr-x 1 root root 3666068 May 2 15:46 /usr/lib/libhdf5.so.100.0.0

pi@alarmpi ~ $ pacman -Ql hdf5 | grep libhdf5
hdf5 /usr/lib/libhdf5.settings
hdf5 /usr/lib/libhdf5.so
hdf5 /usr/lib/libhdf5.so.100
hdf5 /usr/lib/libhdf5.so.100.0.0
hdf5 /usr/lib/libhdf5_hl.so
hdf5 /usr/lib/libhdf5_hl.so.100
hdf5 /usr/lib/libhdf5_hl.so.100.0.0

pi@alarmpi ~ $ pacman -Qi hdf5
Name : hdf5
Version : 1.10.0-1
Description : General purpose library and file format for storing scientific data
Architecture : armv7h
URL : http://www.hdfgroup.org/HDF5/
Licenses : custom
Groups : None
Provides : None
Depends On : zlib sh
Optional Deps : None
Required By : netcdf python-pytables python2-h5py
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 7.36 MiB
Packager : Arch Linux ARM Build System <builder+xu4@archlinuxarm.org>
Build Date : Mon May 2 15:46:01 2016
Install Date : Thu May 12 09:58:40 2016
Install Reason : Explicitly installed
Install Script : No
Validated By : SHA-256 Sum

pi@alarmpi ~ $ pacman -Qi python2-h5py
Name : python2-h5py
Version : 2.6.0-2
Description : General-purpose Python bindings for the HDF5 library
Architecture : armv7h
URL : http://www.h5py.org/
Licenses : BSD
Groups : None
Provides : None
Depends On : hdf5 python2-numpy python2-six cython2
Optional Deps : None
Required By : None
Optional For : None
Conflicts With : hdf5-openmpi python2-h5py-openmpi
Replaces : None
Installed Size : 2.96 MiB
Packager : Arch Linux ARM Build System <builder+xu2@archlinuxarm.org>
Build Date : Sun May 1 04:05:49 2016
Install Date : Tue May 17 10:14:10 2016
Install Reason : Explicitly installed
Install Script : No
Validated By : SHA-256 Sum
')
paulmelis
 
Posts: 2
Joined: Tue May 17, 2016 8:29 am

Re: hdf5 and python2-h5py shared lib version mismatch

Postby paulmelis » Mon May 23, 2016 3:19 pm

Seems that since hdf5 1.10.0 the shared lib version has indeed been upped to 100. So the package providing python2-h5py needs to be recompiled.
paulmelis
 
Posts: 2
Joined: Tue May 17, 2016 8:29 am


Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 6 guests