Public bug reported:

python-tables depends on libhdf5 and makes a link to libhdf5.so.6, but
when importing a freshly installed version of PyTables in 12.10 you get
this error:

>> import tables
  File "/usr/local/lib/python2.7/dist-packages/tables/__init__.py", line 30, in 
<module>
    from tables.utilsExtension import getPyTablesVersion, getHDF5Version
ImportError: libhdf5.so.6: cannot open shared object file: No such file or 
directory

The version of python-tables in Quantal now has a dependency on
libhdf5-7. libhdf5-7 only creates a file libhdf5.so.7, see
http://packages.ubuntu.com/quantal/amd64/libhdf5-7/filelist

It seems that the binary file included in python-tables called
utilsExtensions.so is looking for libhdf5.so.6 but it isn't there.

I used this symlink work around to get the package to work:

sudo ln -s /usr/lib/libhdf5.so.7.0.2 /usr/lib/libhdf5.so.6

which I copied from this similar octave bug:
https://bugs.launchpad.net/ubuntu/+source/octave/+bug/1005243

Other info:

$ lsb_release -rd
Description:    Ubuntu 12.10
Release:        12.10

** Affects: pytables (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: dependencies hdf5 pytables python-tables quantal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1071918

Title:
  python-tables depends on missing dependency: libhdf5.so.6 in quantal

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pytables/+bug/1071918/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to