SliTaz SliTaz Forum

You are not logged in.

#1 2026-05-16 05:27:09

thebigh
Member
Registered: 2026-05-01
Posts: 10

Recent update broke libstdc++.so.6

Hi all,

I'm on SliTaz rolling, 32 bit.

A few days ago I updated my packages using 'tazpkg up' and since then I am getting the following errors on booting up:

slim: /usr/lib/libstdc++.so.6: version 'CXXABI_1.3.9' not found (required by slim)

slim: /usr/lib/libstdc++.so.6: version 'GLIBCXX_3.4.21' not found (required by slim)

slim: /usr/lib/libstdc++.so.6: version 'CXXABI_1.3.9' not found (required by /usr/lib/libslim.so.1.3.6)

slim: /usr/lib/libstdc++.so.6: version 'GLIBCXX_3.4.21' not found (required by /usr/lib/libslim.so.1.3.6)

I'm now stuck on commandline; nothing involving graphics works. And if I do:

strings /usr/lib/libstdc++.so.6 | grep GLIBCXX | sort

I'm still at 3.4.20 for GLIBCXX and 1.3.8 for GXXABI. How do I fix this?

Offline

#2 2026-05-16 08:22:07

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: Recent update broke libstdc++.so.6

Hi thebigh,

Sorry for issue hmm

Can you please list package gcc-lib-base / glibc and symlink of /usr/lib/libstdc++.so.6 :

[c]tazpkg -l |grep -E "gcc-lib-base|glibc-base"[/c]

Normally you do see :

gcc-lib-base                       6.3.0             development

glibc-base                         2.20              base-system

If you don't see gcc-lib-base, think gcc83-lib-base installed, it's superset gcc-lib-base (PROVIDE="gcc-lib-base")

strings /usr/lib/libstdc++.so.6 | grep GLIBCXX_

=> if gcc-lib-base 6.3.0 GLIBCXX_3.4.22 max, and libstc++.so.6 point to libstdc++.so.6.0.22

=> if gcc-lib-base 8.3.0 GLIBCXX_3.4.25 max, and libstc++.so.6 point to libstdc++.so.6.0.25

Offline

#3 2026-05-16 09:04:53

thebigh
Member
Registered: 2026-05-01
Posts: 10

Re: Recent update broke libstdc++.so.6

Hi Shann,

Thanks for the reply and troubleshooting

I don't have gcc-lib-base, just glibc-base 2.20 base-system. I do have gcc-lib-base-8.3.0 with GLIBC_3.4.20.

Does this mean I need to make a symbolic link from libstc++.so.6 to libstdc++.so.6.0.25?

Offline

#4 2026-05-16 09:12:59

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: Recent update broke libstdc++.so.6

No problem, you're welcome

normally rolling come with gcc83-lib-base that provide gcc-lib-base.

/usr/lib/libstdc++.so.6 should symlink point to /usr/lib/libstdc++.so.6.0.25.

If it not case, it's strange because gcc83-lib-base is on rolling since many years, i upgrade default toolchain gcc 4.6.3 / glibc 2.14.1 to gcc 6.3.0 / glibc 2.20, but because gcc83-lib-base override gcc-lib-base, libsdtdc++.so.6 remain link to libstdc++.so.6.0.25.

This situation not impact, use libstdc++.so.6 (gcc83-lib-base) as runtime don't break packages builded with gcc 6.3.0, (only impact it's for build but gcc83-lib-base removed on tank)

Yes fix it's to ensure /usr/libstdc++.so.6 point to libstdc++.so.6.0.25, but sure that only think not clean.

Offline

#5 2026-05-16 09:19:40

thebigh
Member
Registered: 2026-05-01
Posts: 10

Re: Recent update broke libstdc++.so.6

Woohoo! Thanks for your help, it seems to be working now.

Offline

#6 2026-05-16 09:29:48

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: Recent update broke libstdc++.so.6

No problem, happy that fixed and your system work now smile.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.018 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]