On Tue, Feb 27, 2024 at 8:34 AM Gremlin <scott-andr...@columbus.rr.com> wrote: > > On 2/27/24 08:27, Jeffrey Walton wrote: > > On Tue, Feb 27, 2024 at 5:52 AM Diego Luo (罗国雄) <d...@semtech.com> wrote: > >> > >> Would you pls help give tips about how to upgrade the GLIBCXX and GLIBC to > >> the specific version (GLIBCXX_3.4.29, GLIBC_2.34) on Debian? > >> > >> I am using the Raspberry Pi 4B with the Raspbian OS “Linux raspberrypi > >> 5.15.61-v8+ #1579 SMP PREEMPT Fri Aug 26 11:16:44 BST 2022 aarch64 > >> GNU/Linux”, which is Debian based OS. > >> > >> When running a SW I met the problem missing the required versions of > >> GLIBCXX and GLIBC, with the details below. > >> > >> root@raspberrypi:/home/bitmap_overlap/linux-aarch64# > >> ./blueriver_bitmap_streamer > >> > >> ./blueriver_bitmap_streamer: /lib/aarch64-linux-gnu/libstdc++.so.6: > >> version `GLIBCXX_3.4.29' not found (required by > >> ./blueriver_bitmap_streamer) > >> > >> ./blueriver_bitmap_streamer: /lib/aarch64-linux-gnu/libc.so.6: version > >> `GLIBC_2.32' not found (required by ./blueriver_bitmap_streamer) > >> > >> ./blueriver_bitmap_streamer: /lib/aarch64-linux-gnu/libc.so.6: version > >> `GLIBC_2.33' not found (required by ./blueriver_bitmap_streamer) > >> > >> ./blueriver_bitmap_streamer: /lib/aarch64-linux-gnu/libc.so.6: version > >> `GLIBC_2.34' not found (required by ./blueriver_bitmap_streamer) > >> > >> root@raspberrypi:/home/bitmap_overlap/linux-aarch64# > > > > Another option is to rebuild blueriver_bitmap_streamer. Before the > > build, rip out that useless symbol versioning. All that symbol > > versioning does is to cause a DoS and frustrate users. > > > > You can find the ASM directives to rip out the versioning by grepping > > for '.symver'. It will be in an ASM block. > > https://info.semtech.com/blueriver-av-manager > > The source: > > https://semtech.my.salesforce.com/sfc/p/#E0000000JelG/a/RQ000001m7Hx/ptDTNUqlZvD_8F_SbhjtoHaX9jOZ_fKxuauW0cZp5ag?utm_referrer=https%3A%2F%2Finfo.semtech.com%2F > > Unable to Process Request > We couldn't access the content delivery. > > This content has been deleted, doesn't exist, or can't be previewed. > > Gonna be hard to do that
OP might then take a look at editing the elf file directly. `objdump --remove-section .symver blueriver_bitmap_streamer` should do the trick. Jeff