Comments (3)
Out of curiosity, have you tried what eocanha suggested? That is, modifying the SONAME inside those libraries and renaming them. It is ugly, but it might be the fastest way for you to get the job done.
from boost-for-android.
I tried that earlier but had some issues still (if I remember correctly). Will try again later today!
from boost-for-android.
$ rpl -R -e libboost_regex-gcc-mt-1_53.so.1.53.0 "libboost_regex-gcc-mt-1_53.so\x00\x00\x00\x00\x00\x00\x00" build/lib Replacing "libboost_regex-gcc-mt-1_53.so.1.53.0" with "libboost_regex-gcc-mt-1_53.so\x00\x00\x00\x00\x00\x00\x00" (case sensitive) (partial words matched) Skipping: build/lib/libboost_program_options-gcc-mt-1_53.so (not a regular file) Skipping: build/lib/libboost_regex-gcc-mt-1_53.so (not a regular file) Skipping: build/lib/libboost_iostreams-gcc-mt-1_53.so (not a regular file) Skipping: build/lib/libboost_system-gcc-mt-1_53.so (not a regular file) Skipping: build/lib/libboost_signals-gcc-mt-1_53.so (not a regular file) Skipping: build/lib/libboost_thread-gcc-mt-1_53.so (not a regular file) Skipping: build/lib/libboost_filesystem-gcc-mt-1_53.so (not a regular file) Skipping: build/lib/libboost_date_time-gcc-mt-1_53.so (not a regular file) ........ A Total of 1 matches replaced in 8 files searched.
After:
$ arm-linux-androideabi-readelf -d build/lib/libboost_regex-gcc-mt-1_53.so Dynamic section at offset 0x6bbd0 contains 26 entries: Tag Type Name/Value 0x00000003 (PLTGOT) 0x6cda0 0x00000002 (PLTRELSZ) 1192 (bytes) 0x00000017 (JMPREL) 0xfde8 0x00000014 (PLTREL) REL 0x00000011 (REL) 0xda08 0x00000012 (RELSZ) 9184 (bytes) 0x00000013 (RELENT) 8 (bytes) 0x6ffffffa (RELCOUNT) 1056 0x00000006 (SYMTAB) 0x114 0x0000000b (SYMENT) 16 (bytes) 0x00000005 (STRTAB) 0x2a34 0x0000000a (STRSZ) 40287 (bytes) 0x00000004 (HASH) 0xc794 0x00000001 (NEEDED) Shared library: [libstdc++.so] 0x00000001 (NEEDED) Shared library: [libm.so] 0x00000001 (NEEDED) Shared library: [libc.so] 0x00000001 (NEEDED) Shared library: [libdl.so] 0x0000000e (SONAME) Library soname: [libboost_regex-gcc-mt-1_53.so] 0x0000001a (FINI_ARRAY) 0x6b718 0x0000001c (FINI_ARRAYSZ) 8 (bytes) 0x00000019 (INIT_ARRAY) 0x6cbc4 0x0000001b (INIT_ARRAYSZ) 12 (bytes) 0x00000010 (SYMBOLIC) 0x0 0x0000001e (FLAGS) SYMBOLIC BIND_NOW 0x6ffffffb (FLAGS_1) Flags: NOW 0x00000000 (NULL) 0x0
Think the linker errors are gone now (having other errors). Maybe the build script can strip the libraries like "rlp" does?
from boost-for-android.
Related Issues (20)
- Error before patch, on windows, how to fix? HOT 1
- when Suppport 1.7.7?
- Fixed ndk[19,20,21,22] building failed bug.
- Can you update the shell of 1.77.0 version ,thanks
- Error: No best alternative for libs/context/build/asm_sources HOT 1
- i build boost success but i build project faild HOT 5
- build-boost-without-version-number-suffixes
- Boost 1.74.0 armv7a
- boost_version for 1.72.0
- windows does not compile HOT 3
- "Undefined or not supported Android NDK version: 23.2" on GitHub Actions HOT 2
- fail to identify Windows when using '--with-conv'
- Can't build NDK
- Open source license HOT 2
- How to generate shared libboost_xxxx.so without the version number such as .so.1.74.0 HOT 2
- Please stop requiring approvals for pull requests HOT 3
- Add NDK 26.1 and 26.2 to build-android.sh
- Build Boost 1.70.0 By NDK r21e, product libthread libsystem size is unnormal
- I see the following error when building Boost 1.78.0 thought the build seems to finish. error: No best alternative for libs/context/build/asm_sources
- error: No best alternative for libs/context/build/asm_sources with ms 64 off pe <boost.cobalt.executor>any_io_executor <boost.cobalt.pmr>std fcontext off object on linker on on off off static yes yes off NT on on off off 3.9 abi address-model architecture binary-format toolset on on shared native off windows <testing.execute>on win32 multi toolset-msvc:version14.3 msvc debug off hidden off on desktop HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from boost-for-android.