Skip to content
This repository has been archived by the owner on Mar 26, 2020. It is now read-only.

unable to load library via jni on android: UnsatisfiedLinkError for symbol "atof" #19

Closed
canatella opened this issue Oct 20, 2014 · 2 comments

Comments

@canatella
Copy link

When using json11 with the android ndk r10b, the resulting dynamic library is not loadable because of a missing atof symbol. I fixed the problem here using strtod instead of atof. I don't know if the issue should be fixed here or in the ndk.

https://gist.github.com/canatella/621bc4d467f22e75bd1b

@skabbes
Copy link
Contributor

skabbes commented Nov 16, 2014

it seems like strtod is the preferred way to convert anyway. I don't see why we wouldn't do this.

@j4cbo
Copy link
Contributor

j4cbo commented Apr 8, 2015

Fixed by cfdd675

@j4cbo j4cbo closed this as completed Apr 8, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants