Mono interop: Loading 32bit shared library does not work on my 64bit system

后端 未结 3 819
遇见更好的自我
遇见更好的自我 2021-01-06 16:47

i have a problem running a simple interop example on my system. I built a simple 32-bit shared library called libtest.so (c++)

g++ -c -fpic test.cpp -m32
g++         


        
3条回答
  •  没有蜡笔的小新
    2021-01-06 17:40

    You cannot load a 32 bit module into a 64 bit process. Either run a 32 bit process, or compile your native module as a 64 bit module.

提交回复
热议问题