[MacPorts] #31531: sane-backends: USB support requested but required libraries not found

MacPorts noreply at macports.org
Thu Nov 10 05:26:06 PST 2011


#31531: sane-backends: USB support requested but required libraries not found
------------------------------+---------------------------------------------
 Reporter:  sjd4@…            |       Owner:  aguynamedryan+sane@…        
     Type:  defect            |      Status:  new                         
 Priority:  Normal            |   Milestone:                              
Component:  ports             |     Version:  2.0.3                       
 Keywords:                    |        Port:  sane-backends               
------------------------------+---------------------------------------------

Comment(by erniefourman@…):

 I'm seeing the same problem, but with perl5.12 -universal active. I took a
 look in the libusb libraries, and the _usb_interrupt_read symbol is listed
 as defined. Perhaps a stupid question, but why does libusb-compat at 0.1.3
 give me libusb-0.1.4.dylib rather than libusb-0.1.3.dylib?

 nm /opt/local/lib/libusb-0.1.4.dylib | grep _read
 0000000000001770 T _usb_bulk_read
 00000000000014d0 T _usb_interrupt_read

 nm /opt/local/lib/libusb.a | grep _read
 0000000000000c10 T _usb_bulk_read
 0000000000002de8 S _usb_bulk_read.eh
 0000000000000970 T _usb_interrupt_read
 0000000000002d78 S _usb_interrupt_read.eh

 <snip>
 checking usb.h presence... yes
 checking for usb.h... yes
 checking for usb_interrupt_read in -lusb... no
 configure: error: USB support requested but required libraries not found.
 shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_graphics_sane-backends/sane-backends/work/sane-
 backends-1.0.22" && ./configure --prefix=/opt/local
 --mandir=/opt/local/share/man --with-docdir=/opt/local/share/doc/sane-
 backends --enable-local-backends --enable-libusb --disable-latex
 --without-gphoto2 " returned error 1
 </snip>

 port -v installed perl5.12
 The following ports are currently installed:
   perl5.12 @5.12.3_1 platform='darwin 10' archs='x86_64'
   perl5.12 @5.12.3_1+universal platform='darwin 11' archs='i386 x86_64'
   perl5.12 @5.12.3_2-universal (active) platform='darwin 11'
 archs='x86_64'
   perl5.12 @5.12.3_2+universal platform='darwin 11' archs='i386 x86_64'

 port -v installed net-snmp
 The following ports are currently installed:
   net-snmp @5.7_0 (active) platform='darwin 11' archs='x86_64'

-- 
Ticket URL: <https://trac.macports.org/ticket/31531#comment:15>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list