GLIBCXX_3.4.30' not found
Hi Team,
I am facing an issue with 'GLIBCXX_3.4.30' not found. I am using Ubuntu 18.04 with GCC and G++ version 7.5. Previously, my build included BusyBox version 1.31, but I now want to upgrade to version 1.35. I manually integrated the latest version using BitBake, and it compiled successfully. However, while building the entire image, I encountered the mentioned issue. Before upgrading BusyBox, my build was successful, but after upgrading, I see this issue during compilation. What could be the reason, and how can I fix this?
/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/cmake-3.16.5/Tests/CMakeLib /home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/build /home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/build/Tests/CMakeLib /home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/build/Tests/CMakeLib/CMakeFiles/CMakeLibTests.dir/DependInfo.cmake --color=
| make[2]: Leaving directory '/home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/build' | make -f Source/CMakeFiles/ctest.dir/build.make Source/CMakeFiles/ctest.dir/build | make[2]: Leaving directory '/home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/build' | make -f Tests/CMakeLib/CMakeFiles/CMakeLibTests.dir/build.make Tests/CMakeLib/CMakeFiles/CMakeLibTests.dir/build | make[2]: Leaving directory '/home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/build' | make -f Tests/RunCMake/CMakeFiles/ctresalloc.dir/build.make Tests/RunCMake/CMakeFiles/ctresalloc.dir/build | make[2]: Entering directory '/home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/build' | make[2]: Nothing to be done for 'Source/CMakeFiles/ctest.dir/build'. | make[2]: Leaving directory '/home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/build' | make[2]: Entering directory '/home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/build' | make[2]: Nothing to be done for 'Tests/CMakeLib/CMakeFiles/CMakeLibTests.dir/build'. | make[2]: Leaving directory '/home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/build' | make[2]: Entering directory '/home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/build' | make[2]: Nothing to be done for 'Tests/RunCMake/CMakeFiles/ctresalloc.dir/build'. | make[2]: Leaving directory '/home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/build' | [ 96%] Built target ctest | [ 97%] Built target ctresalloc | [100%] Built target CMakeLibTests | make[1]: Leaving directory '/home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/build' | /home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/build/Bootstrap.cmk/cmake -E cmake_progress_start /home/p_6012115/hdd/ccNC_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/build/CMakeFiles 0 | make -f CMakeFiles/Makefile2 preinstall | make[1]: Entering directory '/home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/build' | make[1]: Nothing to be done for 'preinstall'. | make[1]: Leaving directory '/home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/build' | Install the project... | bin/cmake -P cmake_install.cmake *| bin/cmake: /home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/sysroots-uninative/x86_64-linux/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by bin/cmake)* *| Makefile:142: recipe for target 'install' failed* | make: *** [install] Error 1 | WARNING: /home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/temp/run.do_install.24788:1 exit 1 from 'exit 1' |
ERROR: Task (/home/p_6012115/hdd/c_Basic/subcore/poky/meta/recipes-devtools/cmake/cmake-native_3.16.5.bb:do_install) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1314 tasks of which 1309 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 0 seconds
Summary: 1 task failed:
/home/p_6012115/hdd/c_Basic/subcore/poky/meta/recipes-devtools/cmake/cmake-native_3.16.5.bb:do_install
Thanks in advance.
Regards,
Sateesh
Quoted 4 lines · sateesh m via lists.yoctoproject.org
Hi Team,
I am facing an issue with 'GLIBCXX_3.4.30' not found. I am using Ubuntu 18.04 with GCC and G++ version 7.5. Previously, my build included BusyBox version 1.31, but I now want to upgrade to version 1.35. I manually integrated the latest version using BitBake, and it compiled successfully. However, while building the entire image, I encountered the mentioned issue. Before upgrading BusyBox, my build was successful, but after upgrading, I see this issue during compilation. What could be the reason, and how can I fix this?
looking at cmake version it seems you are building a dunfell release. Can you confirm ?
try deleting '/home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/' and doing a rebuild.
Quoted 54 lines
/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/cmake-3.16.5/Tests/CMakeLib
/home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/build/home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/build/Tests/CMakeLib/home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/build/Tests/CMakeLib/CMakeFiles/CMakeLibTests.dir/DependInfo.cmake--color=| make[2]: Leaving directory '/home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/build' | make -f Source/CMakeFiles/ctest.dir/build.make Source/CMakeFiles/ctest.dir/build | make[2]: Leaving directory '/home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/build' | make -f Tests/CMakeLib/CMakeFiles/CMakeLibTests.dir/build.make Tests/CMakeLib/CMakeFiles/CMakeLibTests.dir/build | make[2]: Leaving directory '/home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/build' | make -f Tests/RunCMake/CMakeFiles/ctresalloc.dir/build.make Tests/RunCMake/CMakeFiles/ctresalloc.dir/build | make[2]: Entering directory '/home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/build' | make[2]: Nothing to be done for 'Source/CMakeFiles/ctest.dir/build'. | make[2]: Leaving directory '/home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/build' | make[2]: Entering directory '/home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/build' | make[2]: Nothing to be done for 'Tests/CMakeLib/CMakeFiles/CMakeLibTests.dir/build'. | make[2]: Leaving directory '/home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/build' | make[2]: Entering directory '/home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/build' | make[2]: Nothing to be done for 'Tests/RunCMake/CMakeFiles/ctresalloc.dir/build'. | make[2]: Leaving directory '/home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/build' | [ 96%] Built target ctest | [ 97%] Built target ctresalloc | [100%] Built target CMakeLibTests | make[1]: Leaving directory '/home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/build' | /home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/build/Bootstrap.cmk/cmake -E cmake_progress_start /home/p_6012115/hdd/ccNC_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/build/CMakeFiles 0 | make -f CMakeFiles/Makefile2 preinstall | make[1]: Entering directory '/home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/build' | make[1]: Nothing to be done for 'preinstall'. | make[1]: Leaving directory '/home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/build' | Install the project... | bin/cmake -P cmake_install.cmake | bin/cmake: /home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/sysroots-uninative/x86_64-linux/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by bin/cmake) | Makefile:142: recipe for target 'install' failed | make: *** [install] Error 1 | WARNING: /home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/temp/run.do_install.24788:1 exit 1 from 'exit 1' |ERROR: Task (/home/p_6012115/hdd/c_Basic/subcore/poky/meta/recipes-devtools/cmake/cmake-native_3.16.5.bb:do_install) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1314 tasks of which 1309 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 0 seconds
Summary: 1 task failed:
/home/p_6012115/hdd/c_Basic/subcore/poky/meta/recipes-devtools/cmake/cmake-native_3.16.5.bb:do_installThanks in advance.
Regards,
Sateesh-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
You automatically follow any topics you start or reply to. View/Reply Online (#65052): https://lists.yoctoproject.org/g/yocto/message/65052
Mute This Topic: https://lists.yoctoproject.org/mt/112040880/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Yes I building dunfell version.
Quoted 111 lines · Khem Raj,
Quoted 4 lines · sateesh m via lists.yoctoproject.org
Hi Team,
I am facing an issue with 'GLIBCXX_3.4.30' not found. I am using Ubuntu
18.04 with GCC and G++ version 7.5. Previously, my build included BusyBox version 1.31, but I now want to upgrade to version 1.35. I manually integrated the latest version using BitBake, and it compiled successfully. However, while building the entire image, I encountered the mentioned issue. Before upgrading BusyBox, my build was successful, but after upgrading, I see this issue during compilation. What could be the reason, and how can I fix this?
looking at cmake version it seems you are building a dunfell release. Can you confirm ?
try deleting '/home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/' and doing a rebuild.Quoted 2 lines
/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/cmake-3.16.5/Tests/CMakeLib
/home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/build/home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/build/Tests/CMakeLib/home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/build/Tests/CMakeLib/CMakeFiles/CMakeLibTests.dir/DependInfo.cmake--color=Quoted 1 line
| make[2]: Leaving directory
'
/home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/build'Quoted 1 line
| make -f Source/CMakeFiles/ctest.dir/build.make
Source/CMakeFiles/ctest.dir/build
Quoted 1 line
| make[2]: Leaving directory
'
/home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/build'Quoted 1 line
| make -f Tests/CMakeLib/CMakeFiles/CMakeLibTests.dir/build.make
Tests/CMakeLib/CMakeFiles/CMakeLibTests.dir/build
Quoted 1 line
| make[2]: Leaving directory
'
/home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/build'Quoted 1 line
| make -f Tests/RunCMake/CMakeFiles/ctresalloc.dir/build.make
Tests/RunCMake/CMakeFiles/ctresalloc.dir/build
Quoted 1 line
| make[2]: Entering directory
'
/home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/build'Quoted 2 lines
| make[2]: Nothing to be done for 'Source/CMakeFiles/ctest.dir/build'. | make[2]: Leaving directory
'
/home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/build'Quoted 1 line
| make[2]: Entering directory
'
/home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/build'Quoted 1 line
| make[2]: Nothing to be done for
'Tests/CMakeLib/CMakeFiles/CMakeLibTests.dir/build'.
Quoted 1 line
| make[2]: Leaving directory
'
/home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/build'Quoted 1 line
| make[2]: Entering directory
'
/home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/build'Quoted 1 line
| make[2]: Nothing to be done for
'Tests/RunCMake/CMakeFiles/ctresalloc.dir/build'.
Quoted 1 line
| make[2]: Leaving directory
'
/home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/build'Quoted 4 lines
| [ 96%] Built target ctest | [ 97%] Built target ctresalloc | [100%] Built target CMakeLibTests | make[1]: Leaving directory'
/home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/build'Quoted 1 line
|
/home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/build/Bootstrap.cmk/cmake-Ecmake_progress_start/home/p_6012115/hdd/ccNC_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/build/CMakeFiles0Quoted 2 lines
| make -f CMakeFiles/Makefile2 preinstall
| make[1]: Entering directory'
/home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/build'Quoted 2 lines
| make[1]: Nothing to be done for 'preinstall'.
| make[1]: Leaving directory'
/home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/build'Quoted 3 lines
| Install the project... | bin/cmake -P cmake_install.cmake | bin/cmake:
/home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/sysroots-uninative/x86_64-linux/usr/lib/libstdc++.so.6:
version `GLIBCXX_3.4.30' not found (required by bin/cmake)Quoted 3 lines
| Makefile:142: recipe for target 'install' failed | make: *** [install] Error 1 | WARNING:
/home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/work/x86_64-linux/cmake-native/3.16.5-r0/temp/run.do_install.24788:1exit 1 from 'exit 1'Quoted 2 lines
|
ERROR: Task(/home/p_6012115/hdd/c_Basic/subcore/poky/meta/recipes-devtools/cmake/cmake-native_3.16.5.bb:do_install) failed with exit code '1'
Quoted 1 line
NOTE: Tasks Summary: Attempted 1314 tasks of which 1309 didn't need to
be rerun and 1 failed.
Quoted 4 lines
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 0 seconds
Summary: 1 task failed:
/home/p_6012115/hdd/c_Basic/subcore/poky/meta/recipes-devtools/cmake/cmake-native_3.16.5.bb:do_installQuoted 10 lines
Thanks in advance.
Regards,
Sateesh-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. You automatically follow any topics you start or reply to. View/Reply Online (#65052):https://lists.yoctoproject.org/g/yocto/message/65052
Quoted 3 lines
Mute This Topic: https://lists.yoctoproject.org/mt/112040880/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [Quoted 2 lines
-=-=-=-=-=-=-=-=-=-=-=-
Hi Khem Raj,
I am using dunfell version.
I deleted the tmp directory and rebuilt the project, but I still see the same problem.
Could you please suggest any other method.
Regards,
Sateesh
Quoted 6 lines · sateesh m
Hi Khem Raj,
I am using dunfell version.
Any reason why you are using so old versions? Dunfell hasn't been maintained since May 2024 and Ubuntu 18.04 has been retired in May 2023 (if I am not mistaken).
Also you are mentioning you have manually integrated the latest version of busybox (1.35) using BitBake. How did you do it? Also, does the build succeed if you go back to the original version 1.31?
Quoted 10 lines
I deleted the tmp directory and rebuilt the project, but I still see the same problem.
Could you please suggest any other method.
Regards,
Sateesh
Hi Aleksandar Nikolic,
Yes, we need to use only the older Dunfell version. Initially, when I built the latest image, I did not face any issues—the image was successfully built. Afterward, I created my own layer and updated the BusyBox version to 1.35. Upon building using bitbake -c cleanall busybox and bitbake busybox, the updated BusyBox version was successfully built. However, while compiling the complete image (for example, core-image-minimal), I observed an issue with GLIBC. To address this, I removed the layer I had added and rebuilt the image. Now, BusyBox has reverted to the backport version (1.31), but while jobs are running, cmake-native is also executing, and an error related to GLIBC 2.3.40 not being found is displayed. I suspect this issue might be related to the local PC environment. Could you please suggest an alternative solution to fix this issue?
Regards,
Sateesh
Quoted 8 lines · sateesh m via Lists.Yoctoproject.Org
Hi Khem Raj,
I am using dunfell version.
I deleted the tmp directory and rebuilt the project, but I still see the same problem.
Could you please suggest any other method.
try adding
UNINATIVE_MAXGLIBCVERSION = "2.34"
to local.conf
Quoted 3 lines
Regards,
Sateesh
HI Khem Raj,
I tried UNINATIVE_MAXGLIBCVERSION = "2.34" now I am facing below issue.
| switch/switch.c:11:10: fatal error: misc/switch.h: No such file or directory | 11 | #include <misc/switch.h> | | ^~~~~~~~~~~~~~~ | compilation terminated. | Makefile:570: recipe for target 'switch/switch.o' failed | make[2]: *** [switch/switch.o] Error 1
Can you suggest any alternative.
Thanks & Regards,
Sateesh
Hello Sateesh,
I'm facing the same issue while trying to build a dunfell project on ubuntu 22. Did you managed to solve this?
thank you in advance!
Claudiu
Yes, it is working.
Quoted 9 lines · claudiubucur via Lists.Yoctoproject.Org,
Hello Sateesh,
I'm facing the same issue while trying to build a dunfell project on ubuntu 22.
Did you managed to solve this?thank you in advance!
Claudiu
Quoted 6 lines · sateesh m
Yes, it is working.
Ok, but how did you managed to solve the problem?
bin/cmake: /home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/sysroots-uninative/x86_64-linux/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by bin/cmake)
thank you,
Claudiu
Which ubuntu version you have used?
Quoted 15 lines · Klaus via Lists.Yoctoproject.Org,
On Tue, May 13, 2025 at 04:50 PM, sateesh m wrote:
Yes, it is working.
Ok, but how did you managed to solve the problem?
bin/cmake:
/home/p_6012115/hdd/c_Basic/subcore/build/tcc8030-sub/tmp/sysroots-uninative/x86_64-linux/usr/lib/libstdc++.so.6:
version `GLIBCXX_3.4.30' not found (required by bin/cmake)thank you,
Claudiu
ubuntu 22
Have you done any python version and gcc version updated in your pc.
Quoted 2 lines · Klaus via Lists.Yoctoproject.Org,
ubuntu 22