Installation of libopenni-sensor-pointclouds0 failed on Ubuntu 14.04

Bug #1376070 reported by Patrick Doyle
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openni-sensor-pointclouds (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

libopenni-sensor-pointclouds0 is installed as part of a larger installation (of ros-indigo-desktop-full, which is maintained by the Open Source Robotics Foundation). When I tried installing the meta package, libopenni-sensor-pointclouds0 failed to install. showing the following error:

    Setting up libopenni-sensor-pointclouds0 (5.1.0.41.1-1) ...
    Installing new version of config file /etc/openni/GlobalDefaults.ini ...
    niReg: error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory
    dpkg: error processing package libopenni-sensor-pointclouds0 (--configure):
     subprocess installed post-installation script returned error exit status 127

Poking around on the web, it seems that this is not unheard of, and the recommendation is to

    sudo ln -s /lib/x86_64-linux-gnu/libudev.so.1.3.5 /usr/lib/libudev.so.0

which I did, and was able to successfully install the package. But I thought I should report this as (at least) an anomaly.

I am running on a Ubuntu 14.04 VM that I just upgraded from 12.04. Perhaps something went amiss with the upgrade? (How would I know, except by running into weird stuff like this.)

Revision history for this message
Jochen Sprickerhof (v-launchpad-jochen-sprickerhof-de) wrote :

Can't reproduce with current Packages in Ubuntu 14.04:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Codename: trusty

$ lddtree /usr/bin/niReg
niReg => /usr/bin/niReg (interpreter => /lib64/ld-linux-x86-64.so.2)
    libOpenNI.so.0 => /usr/lib/libOpenNI.so.0
        libusb-1.0.so.0 => /lib/i386-linux-gnu/libusb-1.0.so.0
            libudev.so.1 => /lib/i386-linux-gnu/libudev.so.1

So it was a libusb-1.0 bug if at all.
Please close.

Changed in openni-sensor-pointclouds (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.