During toolchain installation, when glibc gets installed, it reports an error message
0
votes
0
answers
12
views
During toolchain installation, when glibc gets installed, it reports an error message
zic: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
I checked the rpm build and installation order of the packages in the rpm list. It is like
binutils_cross gcc11_bootstrap glibc libstdc++_bootstrap binutils gcc11
After some investigation, I found that
libstdc++.so.6 is installed by gcc11 rpm along with libstdc++.so.6.0.24 and libstdc++.so.6.0.24-gdb.py.
And until it is glibc time for installation, libstdc++.so.6 is not in the required path.
The error is reported when time zone information is compiled by 'zic' command as mentioned in the glibc spec file in the %post section after %install
zic -L /dev/null -d $ZONEINFO $ZONEINFO/${tz}
Query - Does zic, a timezone compiler, really require libstdc++.so.6 to compile timezone information? How can I provide the libstdc++.so.6 before the installation of gcc11 rpm?
I am using Linux openSUSE Leap 42.3
Regards
Asked by atulya
(101 rep)
Jan 13, 2025, 04:46 AM
Last activity: Jan 13, 2025, 05:51 AM
Last activity: Jan 13, 2025, 05:51 AM