On 10/21/09 Robert Jordan wrote: > > Mono-INFO: DllImport loading library: './libUFScanner.so'. > > Mono-INFO: DllImport error loading library './libUFScanner.so: undefined > > symbol: usb_bulk_read'. > > The library libUFScanner.so was loaded but it was not able > to resolve its import 'usb_bulk_read'. It seems that > your system is lacking "libusb".
There is another possibility: he may have libusb installed, but libUFScanner.so is incorrectly linked and it doesn't reference libusb. The fix for this is to recompile libUFScanner.so adding -lusb to the link command. If recompiling is not possible, a workaround is to cause the libusb library to be loaded before libUFScanner.so. This can be accomplished by p/invoking a function from libusb (like, for example, usb_set_debug()) at the start of the program. lupus -- ----------------------------------------------------------------- [email protected] debian/rules [email protected] Monkeys do it better _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
