Joe Onorato wrote: > And you're sure you installed libFnord.so in /system/lib? If it can't > dlopen it, it could be because of binary incompatibility. It could also be > filesystem permissions. Don't forget that each app runs as its own userid. > The error with dlopen means that it isn't even getting to dlsym, which is > where it looks up the JNI methods.
I'm quite sure. I've verified this multiple times (not helped by the fact that the system sometimes doesn't dlunload() the library, which means that uploading a new version doesn't take effect!). Basically, what I've got is that if I include code that refers to an undefined symbol it doesn't work, with the above error; but if I comment out the code, recompile and reupload, it all works fine. The problem is that there are a *lot* of functions I need to provide implementations of because because Android doesn't have them --- including, rather annoying, some of the CRT! Currently I have to use trial and error to figure out what these symbols are. If I could just find a way to get the system to tell me what symbols were causing the problem, my life would be much easier. -- ┌─── dg@cowlark.com ───── http://www.cowlark.com ───── │ "I have always wished for my computer to be as easy to use as my │ telephone; my wish has come true because I can no longer figure out │ how to use my telephone." --- Bjarne Stroustrup
signature.asc
Description: OpenPGP digital signature

