I have a third party library that is i386 only. It has versions of libcrypto.dylib and libssl.dylib with the appropriate i386 architecture. However, every time I try and run my application, it says that it found those libraries on the path at /usr/lib and attempted to load them. It then fails because the libraries in /usr/lib are built for x86_64.
Any idea on how to fix this?
A little more information, we have a Mac Binding project which contains the native references to the third party library and libssl.dylib and libcrypto.dylib with the appropriate architecture. We then reference that binding project from our application. I checked my {MyAppName}.app/Contents/ and see that the libraries libssl.dylib and libcrypto.dylib are placed in the MonoBundle folder.
Thanks,
Rich