[Mono-osx] DYLD_FALLBACK_LIBRARY_PATH
Bojan Rajkovic
severedcross at gmail.com
Tue Apr 26 16:28:33 EDT 2011
On Apr 26, 2011, at 12:43 PM, jpitz31 wrote:
> Hello,
>
> Running 10.6.7 os x. trying to get libusbdotnet do work with mono.
>
> I have built the libusb-1.0 dylib according to the install and readme files.
>
> I have setup the DLLMaps in the dylib.config and the exe.config files.
>
> I have set the DYLD_FALLBACK_LIBRARY_PATH to /usr/local/lib
>
> I am still getting a DllNotFoundException.
>
> Any ideas on what I am missing.
>
> Thanks
Your libusb is probably built for 64-bit, whereas Mono is 32-bit on OS X. Rebuild with CFLAGS="-m32" for a 32-bit libusb.
—Bojan
More information about the Mono-osx
mailing list