I know so little about the command line compiler tools -
I want to run a Mac OS X executable that I've got hold of - but the docs for it say that I need LibUSB (
http://libusb.sourceforge.net/)
I've downloaded the source and run:
Code:
./configure
make
sudo make install
which installed the library into /usr/local/lib - but the executable is not happy - it appears to want the lib as a .dylib:
Code:
dyld: ./gbalink can't open library: /usr/local/lib/libusb-0.1.4.dylib (No such file or directory, errno = 2)
I've looked in the lib dir and indeed the file is not there.
Code:
Widebook:/usr/local/lib diggory$ ls -al
total 15976
drwxr-xr-x 20 root staff 680 7 Oct 13:38 .
drwxr-xr-x 11 root wheel 374 31 Aug 15:25 ..
-rwxr-xr-x 1 root staff 2099824 4 Jul 13:55 libSDL-1.2.0.7.0.dylib
lrwxr-xr-x 1 root staff 22 22 Jul 17:18 libSDL-1.2.0.dylib -> libSDL-1.2.0.7.0.dylib
-rw-r--r-- 1 root staff 1304360 4 Jul 13:55 libSDL.a
lrwxr-xr-x 1 root staff 22 22 Jul 17:18 libSDL.dylib -> libSDL-1.2.0.7.0.dylib
-rwxr-xr-x 1 root staff 830 4 Jul 13:55 libSDL.la
-rw-r--r-- 1 root staff 38036 4 Jul 13:54 libSDLmain.a
-rw-r--r-- 1 root staff 77260 13 Aug 16:15 libconv_common.a
-rw-r--r-- 1 root staff 1834972 13 Aug 16:15 libdirac_common.a
-rw-r--r-- 1 root staff 690940 13 Aug 16:15 libdirac_decoder.a
-rw-r--r-- 1 root staff 793144 13 Aug 16:15 libdirac_encoder.a
-rw-r--r-- 1 root staff 1179440 13 Aug 16:15 libdirac_motionest.a
lrwxr-xr-x 1 root staff 22 2 Aug 17:06 libdl.0.dylib -> /usr/lib/libdl.0.dylib
lrwxr-xr-x 1 root staff 20 2 Aug 17:06 libdl.dylib -> /usr/lib/libdl.dylib
lrwxr-xr-x 1 root staff 16 7 Oct 13:38 libusb -> libusb-0.1.4.4.0
lrwxr-xr-x 1 root staff 16 7 Oct 13:38 libusb-0.1.4 -> libusb-0.1.4.4.0
-rwxr-xr-x 1 root staff 46076 7 Oct 13:38 libusb-0.1.4.4.0
-rw-r--r-- 1 root staff 66024 7 Oct 13:38 libusb.a
-rwxr-xr-x 1 root staff 741 7 Oct 13:38 libusb.la
Widebook:/usr/local/lib diggory$
What have I done wrong? How do I get the .dylib as well