Shared object files of driver not globally anounced to system

Bug #1708418 reported by Tobias Groll
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
openni2 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The package installs some shared object files in the folder /usr/lib/OpenNI2/Drivers but this is no standard search path in ubuntu for shared object files. Additionally the package does not add its install path to /etc/ld.so.conf . Because of that it is not possible to run programms that link to this driver dynamically out of the box.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in openni2 (Ubuntu):
status: New → Confirmed
Revision history for this message
Jochen Sprickerhof (v-launchpad-jochen-sprickerhof-de) wrote :

Files in /usr/lib/OpenNI2/Drivers/ are drivers, dynamically loaded by /usr/lib/libOpenNI2.so.0.

Revision history for this message
Tobias Groll (gibot) wrote :

Perhabs then the Libs: line in /usr/lib/pkgconfig/libopenni2.pc is wrong because there the .so files of the drivers are explicitly included, so if I use pkgconfig to get the right linking libraries my program which uses openni searches for libPS1080 libOniFile and libDummyDevice. So I have to include /usr/lib/OpenNI2/Drivers to my LD_LIBRARY_PATH for running my program

This is the Libs line of libopenni2.pc:
Libs: -L${libdir} -lOpenNI2 -L${libdir}/OpenNI2/Drivers -lDummyDevice -lOniFile -lPS1080

Revision history for this message
Jochen Sprickerhof (v-launchpad-jochen-sprickerhof-de) wrote :
Changed in openni2 (Ubuntu):
status: Confirmed → Fix Released
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.