Mailinglist Archive: opensuse-bugs (3879 mails)

< Previous Next >
[Bug 596411] Scanbuttond can't find usb scanner, problem with libusb compatibility library

https://bugzilla.novell.com/show_bug.cgi?id=596411

https://bugzilla.novell.com/show_bug.cgi?id=596411#c15


Stanislav Brabec <sbrabec@xxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |NEEDINFO
InfoProvider| |aj@xxxxxxxx

--- Comment #15 from Stanislav Brabec <sbrabec@xxxxxxxx> 2012-04-10 21:45:18
CEST ---
Andreas, could you advise with this issue?

We need to link against libusb-0.1.so.4 that needs symbols from
libusb-1.0.so.0.

But we need to make symbols from libusb-1.0.so.0 invisible for the application
that links to libusb-0.1.so.4.

Is something like that easily possible or do we need to play with
dlopen("libusb-1.0.so.0", RTLD_LOCAL) and dlsym() wrappers?

This partial issue can be worked around by modifying of the application source
code. But libusb is a LGPL application and it is used by many proprietary
programs. As libusb0 did not define symbol libusb_open, such application could
use it for its own function. After migration to libusb-compat, such application
stops to work.

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >