On Tue, Feb 27, 2024 at 06:51:13AM +0000, Diego Luo (罗国雄) wrote: > Hi, > > 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#
Your libc6 and libstdc++6 packages are too old to run this program. Your choices are: 1) Find another, older, build of this program that's suitable for your system. 2) Recompile it yourself, if source code is available. 3) Find a substitute program. 4) Upgrade your operating system to a newer release. Debian 12 (bookworm) should be new enough: hobbit:~$ nm -D /lib/x86_64-linux-gnu/libc.so.6 | grep 'A GLIBC_2\.3[0-9]' 0000000000000000 A GLIBC_2.30 0000000000000000 A GLIBC_2.31 0000000000000000 A GLIBC_2.32 0000000000000000 A GLIBC_2.33 0000000000000000 A GLIBC_2.34 0000000000000000 A GLIBC_2.35 0000000000000000 A GLIBC_2.36 hobbit:~$ nm -D /lib/x86_64-linux-gnu/libstdc++.so.6 | grep 'A GLIBCXX_3\.4\.[23][0-9]' 0000000000000000 A GLIBCXX_3.4.20 0000000000000000 A GLIBCXX_3.4.21 0000000000000000 A GLIBCXX_3.4.22 0000000000000000 A GLIBCXX_3.4.23 0000000000000000 A GLIBCXX_3.4.24 0000000000000000 A GLIBCXX_3.4.25 0000000000000000 A GLIBCXX_3.4.26 0000000000000000 A GLIBCXX_3.4.27 0000000000000000 A GLIBCXX_3.4.28 0000000000000000 A GLIBCXX_3.4.29 0000000000000000 A GLIBCXX_3.4.30