Giter Site home page Giter Site logo

Comments (3)

inetic avatar inetic commented on July 18, 2024

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.

linqcan avatar linqcan commented on July 18, 2024

I tried that earlier but had some issues still (if I remember correctly). Will try again later today!

from boost-for-android.

linqcan avatar linqcan commented on July 18, 2024
$ 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.