Need help debugging why a shared library fails ...

本文探讨了在尝试使用System.loadLibrary加载名为sharedC的共享库时遇到的问题。sharedC依赖于另外两个共享库sharedA和sharedB。作者在加载sharedC之前已经加载了这两个依赖库,但在尝试加载sharedC时程序出现了SEGV错误。通过strace工具进一步排查问题。
 2 down vote favorite
    

I am trying to load a shared library using: System.loadLibrary("sharedC"); sharedC is dependent on 2 other shared libraries sharedA and sharedB, all three were made using the standalone toolchain and are included as prebuilt shared libraries. I load sharedA and sharedB before sharedC and I know of no other dependencies. But when I try to load sharedC, I get a SEGV. When I run strace, this is what I get:

转载于:https://my.oschina.net/zhuzihasablog/blog/100401

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值