Skip Menu |

This queue is for tickets about the Device-USB CPAN distribution.

Report information
The Basics
Id: 71650
Status: new
Priority: 0/
Queue: Device-USB

People
Owner: Nobody in particular
Requestors: yespiritu13y [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



CC: zer0.n00ble [...] gmail.com
Subject: error installing Device-USB-0.35 (BUG 65908) (just a bit graceful solution)
Date: Thu, 13 Oct 2011 13:42:00 +0700
To: bug-device-usb [...] rt.cpan.org
From: X Y <yespiritu13y [...] gmail.com>
Hello, As long as compat version of libusb.so is a wrapper over libusb 1.x.x, C function names prefixed with "libusb_" defined at USB.pm interfere with the same names in libusb 1.x.x. That results in improper linking and segfaults. So, you can use just a simple command *sed -i.orig s/\\blibusb_/wrap_usb_/g ./lib/Device/USB.pm ./t/pod-coverage.t * before compiling the module to be able to use the current libusb distribution. Thanks, Sasha