dlopen failed: *.so has unexpected e_machine
生活随笔
收集整理的這篇文章主要介紹了
dlopen failed: *.so has unexpected e_machine
小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
最近幾個(gè)寫(xiě)android有問(wèn)到??dlopen failed: "*.so" has unexpected e_machine 錯(cuò)誤,現(xiàn)給出解決方案:
Class=ELF32 Machine=ARM
現(xiàn)在大部分android手機(jī)都只支持32位,即最高到armv7, 所以so庫(kù)必須是32位的,且目標(biāo)平臺(tái)應(yīng)該是ARM
gcc 編譯 適用于arm 的參數(shù) 詳詢:
http://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html
http://blog.csdn.net/lanmo555/article/details/18698391
總結(jié)
以上是生活随笔為你收集整理的dlopen failed: *.so has unexpected e_machine的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: 两组数据的相关性分析
- 下一篇: python-图像边缘化处理