[Mono-osx] mono os x what architecture type?

jpitz31 j_pitz at yahoo.com
Thu Apr 21 02:47:13 EDT 2011


Attempting to call some c code from mono,  I created a shared library
libmain.dylib

When I call the code from mono I get the error: Unhandled Exception:
System.DllNotFoundException:

upon further investigation I traced the error to the wrong architecture
type: 

libmain.dylib: mach-o, but wrong architecture

I checked the libmain.dylib with lipo and it is x86_64

What architecture type should I build the shared library?

I am running 10.6.7 os x on a mac mini?  What architecture is mono built
for?

Thanks

Joe

--
View this message in context: http://mono.1490590.n4.nabble.com/mono-os-x-what-architecture-type-tp3465238p3465238.html
Sent from the Mono - OSX mailing list archive at Nabble.com.


More information about the Mono-osx mailing list