Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Load i386 libraries instead of x86_64 libraries on path /usr/lib

$
0
0

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


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>