You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.
We used to have a libcryptobox-jni.so library built for 32 bit. We now changed the toolchain to build also for 64 bit.
The version built with the new toolchain is now referencing some other libraries that were not there before. We can live with that, I guess we need to add those to the package too, but it's also referencing one using the wrong path. Therefore at runtime it crashes because it can't load them.
Here is what we found out: this is the comparison of the two version (working vs. non working), from this you can see which libraries are referenced.
We used to have a
libcryptobox-jni.so
library built for 32 bit. We now changed the toolchain to build also for 64 bit.The version built with the new toolchain is now referencing some other libraries that were not there before. We can live with that, I guess we need to add those to the package too, but it's also referencing one using the wrong path. Therefore at runtime it crashes because it can't load them.
Here is what we found out: this is the comparison of the two version (working vs. non working), from this you can see which libraries are referenced.
Working, old lib:
Not working, new lib:
You can see that one reference has the wrong path (
./obj/local/armeabi-v7a/libcryptobox.so
), and other references are new (e.g.libstdc++.so
).The issues that we are trying to solve:
The build scripts are in this repo, just look at the README.
This is the changeset between the working version (before merging PR) and the broken version (after PR): https://github.com/wireapp/cryptobox-jni/pull/10/files
The text was updated successfully, but these errors were encountered: