Open IHaveBeenAHero opened 1 year ago
Please copy crash logs here
On Fri, 3 Feb 2023, 09:20 IHaveBeenAHero, @.***> wrote:
I was building shared libs of Boost-for-Android.
I modified build-android.sh, changed "link=static" to "link=shared" and ran build-android.sh. Finally in ./build/output, I got the libs with their soft links, such as: libboost_atomic-clang-mt-a64-1_74.so -> libboost_atomic-clang-mt-a64-1_74.so.1.74.0
However, it seems that such libs with the soft links can not be loaded by Android. My app crashed when loading such libs. Renaming libboostxxx.so.1.74.0 to libboostxxx.so also does not work.
So how can i build Boost-for-Android to generate libboost_xxxx.so only, without the soft links.
Thanks very much. I am looking forwards to your response.
— Reply to this email directly, view it on GitHub https://github.com/moritz-wundke/Boost-for-Android/issues/251, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABF5QFN45UPNUOBC7N76ZLWVSWUXANCNFSM6AAAAAAUP5SNUM . You are receiving this because you are subscribed to this thread.Message ID: @.***>
here's the proper solution: https://github.com/boostorg/boost/pull/206
tickets about the same: #23, #44
I was building shared libs of Boost-for-Android.
I modified build-android.sh, changed "link=static" to "link=shared" and ran build-android.sh. Finally in ./build/output, I got the libs with their soft links, such as: libboost_atomic-clang-mt-a64-1_74.so -> libboost_atomic-clang-mt-a64-1_74.so.1.74.0
However, it seems that such libs with the soft links can not be loaded by Android. My app crashed when loading such libs. Renaming libboostxxx.so.1.74.0 to libboostxxx.so also does not work.
So how can i build Boost-for-Android to generate libboost_xxxx.so only, without the soft links.
Thanks very much. I am looking forward to your response.