I've got an iPhone project using liblo (liblo.sourceforge.net). My project's been working fine in the simulator, but as soon as I went to build for the device, ld
fails:
ld: library not found for -llo
I suspect that this is because I just ran make install
when I downloaded liblo. I found a thread that suggested cross compiling by running ./configure --host=arm-apple-darwin
before make install
, but that doesn't seem to have fixed the problem.
[/usr/local/lib]$ file liblo.dylib
liblo.dylib: Mach-O dynamically linked shared library i386
Is there a simple solution?