From: Xiaofan C. <xia...@gm...> - 2012-03-17 11:40:50
|
On Sat, Mar 17, 2012 at 4:16 PM, Kustaa Nyholm <Kus...@pl...> wrote: > On 3/15/12 16:26, "Tormod Volden" <lis...@gm...> wrote: >> >>The libusb-0.1-4 package ships only a libusb-0.1.so.4 symlink (both in >>/lib and /usr/lib), but the libusb-dev package gives you an additional >>libusb.so symlink. > > Ah, that probably explains why my previous version worked with just > the library name "usb" without the version number: I must have > had the libusb-dev package installed. > > Good to have that mystery cleared up. Same here. I always install libusb-dev after the installation of Ubuntu along with some other must-have packages (e.g.: build-essential, git/svn/cvs, python-dev, swig, automake/libtool, etc). That is why I remember that libusb.so and other files are in /usr/lib. mcuee@mcuee-VirtualBox:/usr/lib$ ls -la libusb* lrwxrwxrwx 1 root root 20 2012-03-11 09:19 libusb-0.1.so.4 -> /lib/libusb-0.1.so.4 -rw-r--r-- 1 root root 31366 2011-07-27 19:15 libusb.a -rw-r--r-- 1 root root 807 2011-07-27 19:15 libusb.la lrwxrwxrwx 1 root root 19 2012-01-31 04:52 libusbmuxd.so.1 -> libusbmuxd.so.1.0.7 -rw-r--r-- 1 root root 21936 2012-01-31 04:52 libusbmuxd.so.1.0.7 lrwxrwxrwx 1 root root 24 2011-07-27 19:15 libusb.so -> /lib/libusb-0.1.so.4.4.4 mcuee@mcuee-VirtualBox:/lib$ ls -la libusb* lrwxrwxrwx 1 root root 19 2012-03-11 09:18 libusb-0.1.so.4 -> libusb-0.1.so.4.4.4 -rw-r--r-- 1 root root 30072 2011-07-27 19:15 libusb-0.1.so.4.4.4 (Nice, copy/paste works between Mac OS X and the Ubuntu Linux Virtual Machine under VirtualBox). -- Xiaofan |