All of lore.kernel.org
 help / color / mirror / Atom feed
* libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by bin/cmake) #hardknott
@ 2023-05-24 12:04 Mahendra Sondagar
  2023-05-24 16:43 ` [yocto] " Khem Raj
  2023-05-24 20:12 ` Richard Purdie
  0 siblings, 2 replies; 5+ messages in thread
From: Mahendra Sondagar @ 2023-05-24 12:04 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 1519 bytes --]

Hi.. community

Hope all are doing well

I'm dealing with the Yocto hardknott with my Ubuntu host

The Ubuntu version is Ubuntu 22.04.2 LTS

During the building of the custom image, everything goes well until the build process hits the below error message

| make  -f CMakeFiles/Makefile2 preinstall

| make[1]: Entering directory '/home/aio/AIO_Systems_Yocto/var-fslc-yocto/build_aio/tmp/work/x86_64-linux/cmake-native/3.19.5-r0/build'

| make[1]: Nothing to be done for 'preinstall'.

| make[1]: Leaving directory '/home/aio/AIO_Systems_Yocto/var-fslc-yocto/build_aio/tmp/work/x86_64-linux/cmake-native/3.19.5-r0/build'

| ERROR: oe_runmake failed

| Install the project...

| bin/cmake -P cmake_install.cmake

| WARNING: exit code 1 from a shell command.

| bin/cmake: /home/aio/AIO_Systems_Yocto/var-fslc-yocto/build_aio/tmp/sysroots-uninative/x86_64-linux/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by bin/cmake)

| make: *** [Makefile:162: install] Error 1

| ERROR: ExecutionError('/home/aio/AIO_Systems_Yocto/var-fslc-yocto/build_aio/tmp/work/x86_64-linux/cmake-native/3.19.5-r0/temp/run.do_install.194605', 1, None, None)

for instance, I have also verified the installed version of the GLIBC via the below command

strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX

From where I got to know that, it's already installed!

Can anyone help me here to resolve the issue?

All comments and suggestions welcome

Thanks
Mahendra

[-- Attachment #2: Type: text/html, Size: 2242 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [yocto] libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by bin/cmake) #hardknott
  2023-05-24 12:04 libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by bin/cmake) #hardknott Mahendra Sondagar
@ 2023-05-24 16:43 ` Khem Raj
  2023-05-24 20:12 ` Richard Purdie
  1 sibling, 0 replies; 5+ messages in thread
From: Khem Raj @ 2023-05-24 16:43 UTC (permalink / raw)
  To: Mahendra Sondagar; +Cc: yocto

22.04 is too new for hardknott which was EOL'ed a year ago. Always
check the tested distributions sections in manual for a given release.
In your case

https://github.com/yoctoproject/poky/blob/hardknott/documentation/ref-manual/system-requirements.rst#supported-linux-distributions

On Wed, May 24, 2023 at 5:04 AM Mahendra Sondagar
<mahendrasondagar08@gmail.com> wrote:
>
> Hi.. community
>
> Hope all are doing well
>
>
>
> I'm dealing with the Yocto hardknott with my Ubuntu host
>
> The Ubuntu version is Ubuntu 22.04.2 LTS
>
>
>
> During the building of the custom image, everything goes well until the build process hits the below error message
>
>
>
> | make  -f CMakeFiles/Makefile2 preinstall
>
> | make[1]: Entering directory '/home/aio/AIO_Systems_Yocto/var-fslc-yocto/build_aio/tmp/work/x86_64-linux/cmake-native/3.19.5-r0/build'
>
> | make[1]: Nothing to be done for 'preinstall'.
>
> | make[1]: Leaving directory '/home/aio/AIO_Systems_Yocto/var-fslc-yocto/build_aio/tmp/work/x86_64-linux/cmake-native/3.19.5-r0/build'
>
> | ERROR: oe_runmake failed
>
> | Install the project...
>
> | bin/cmake -P cmake_install.cmake
>
> | WARNING: exit code 1 from a shell command.
>
> | bin/cmake: /home/aio/AIO_Systems_Yocto/var-fslc-yocto/build_aio/tmp/sysroots-uninative/x86_64-linux/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by bin/cmake)
>
> | make: *** [Makefile:162: install] Error 1
>
> | ERROR: ExecutionError('/home/aio/AIO_Systems_Yocto/var-fslc-yocto/build_aio/tmp/work/x86_64-linux/cmake-native/3.19.5-r0/temp/run.do_install.194605', 1, None, None)
>
>
>
> for instance, I have also verified the installed version of the GLIBC via the below command
>
> strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX
>
>
>
> From where I got to know that, it's already installed!
>
>
>
> Can anyone help me here to resolve the issue?
>
> All comments and suggestions welcome
>
>
>
> Thanks
> Mahendra
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> You automatically follow any topics you start or reply to.
> View/Reply Online (#60109): https://lists.yoctoproject.org/g/yocto/message/60109
> Mute This Topic: https://lists.yoctoproject.org/mt/99106807/1997914
> Mute #hardknott:https://lists.yoctoproject.org/g/yocto/mutehashtag/hardknott
> Group Owner: yocto+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [yocto] libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by bin/cmake) #hardknott
  2023-05-24 12:04 libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by bin/cmake) #hardknott Mahendra Sondagar
  2023-05-24 16:43 ` [yocto] " Khem Raj
@ 2023-05-24 20:12 ` Richard Purdie
  2023-05-24 20:22   ` Bill Plunkett
  1 sibling, 1 reply; 5+ messages in thread
From: Richard Purdie @ 2023-05-24 20:12 UTC (permalink / raw)
  To: Mahendra Sondagar, yocto

On Wed, 2023-05-24 at 05:04 -0700, Mahendra Sondagar wrote:
> Hi.. community 
> Hope all are doing well 
>  
> I'm dealing with the Yocto hardknott with my Ubuntu host 
> The Ubuntu version is Ubuntu 22.04.2 LTS
>  
> During the building of the custom image, everything goes well until
> the build process hits the below error message 
>  
> | make  -f CMakeFiles/Makefile2 preinstall
> | make[1]: Entering directory '/home/aio/AIO_Systems_Yocto/var-fslc-
> yocto/build_aio/tmp/work/x86_64-linux/cmake-native/3.19.5-r0/build'
> | make[1]: Nothing to be done for 'preinstall'.
> | make[1]: Leaving directory '/home/aio/AIO_Systems_Yocto/var-fslc-
> yocto/build_aio/tmp/work/x86_64-linux/cmake-native/3.19.5-r0/build'
> | ERROR: oe_runmake failed
> | Install the project...
> | bin/cmake -P cmake_install.cmake
> | WARNING: exit code 1 from a shell command.
> | bin/cmake: /home/aio/AIO_Systems_Yocto/var-fslc-
> yocto/build_aio/tmp/sysroots-uninative/x86_64-
> linux/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.30' not found
> (required by bin/cmake)
> | make: *** [Makefile:162: install] Error 1
> | ERROR: ExecutionError('/home/aio/AIO_Systems_Yocto/var-fslc-
> yocto/build_aio/tmp/work/x86_64-linux/cmake-native/3.19.5-
> r0/temp/run.do_install.194605', 1, None, None)
>  
> for instance, I have also verified the installed version of the GLIBC
> via the below command 
> strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX
>  
> From where I got to know that, it's already installed!
>  
> Can anyone help me here to resolve the issue?
> All comments and suggestions welcome  

Upgrading uninative to a version from master will probably help fix
that. As Khem mentions, hardknott is know longer supported through.

Cheers,

Richard


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [yocto] libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by bin/cmake) #hardknott
  2023-05-24 20:12 ` Richard Purdie
@ 2023-05-24 20:22   ` Bill Plunkett
  2023-05-27 12:08     ` Mahendra Sondagar
  0 siblings, 1 reply; 5+ messages in thread
From: Bill Plunkett @ 2023-05-24 20:22 UTC (permalink / raw)
  To: Mahendra Sondagar; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 2592 bytes --]

I've had success building yocto hardknott images using the
crops/poky:ubuntu-20.04 docker image.



On Wed, May 24, 2023 at 2:12 PM Richard Purdie <
richard.purdie@linuxfoundation.org> wrote:

> On Wed, 2023-05-24 at 05:04 -0700, Mahendra Sondagar wrote:
> > Hi.. community
> > Hope all are doing well
> >
> > I'm dealing with the Yocto hardknott with my Ubuntu host
> > The Ubuntu version is Ubuntu 22.04.2 LTS
> >
> > During the building of the custom image, everything goes well until
> > the build process hits the below error message
> >
> > | make  -f CMakeFiles/Makefile2 preinstall
> > | make[1]: Entering directory '/home/aio/AIO_Systems_Yocto/var-fslc-
> > yocto/build_aio/tmp/work/x86_64-linux/cmake-native/3.19.5-r0/build'
> > | make[1]: Nothing to be done for 'preinstall'.
> > | make[1]: Leaving directory '/home/aio/AIO_Systems_Yocto/var-fslc-
> > yocto/build_aio/tmp/work/x86_64-linux/cmake-native/3.19.5-r0/build'
> > | ERROR: oe_runmake failed
> > | Install the project...
> > | bin/cmake -P cmake_install.cmake
> > | WARNING: exit code 1 from a shell command.
> > | bin/cmake: /home/aio/AIO_Systems_Yocto/var-fslc-
> > yocto/build_aio/tmp/sysroots-uninative/x86_64-
> > linux/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.30' not found
> > (required by bin/cmake)
> > | make: *** [Makefile:162: install] Error 1
> > | ERROR: ExecutionError('/home/aio/AIO_Systems_Yocto/var-fslc-
> > yocto/build_aio/tmp/work/x86_64-linux/cmake-native/3.19.5-
> > r0/temp/run.do_install.194605', 1, None, None)
> >
> > for instance, I have also verified the installed version of the GLIBC
> > via the below command
> > strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX
> >
> > From where I got to know that, it's already installed!
> >
> > Can anyone help me here to resolve the issue?
> > All comments and suggestions welcome
>
> Upgrading uninative to a version from master will probably help fix
> that. As Khem mentions, hardknott is know longer supported through.
>
> Cheers,
>
> Richard
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#60116):
> https://lists.yoctoproject.org/g/yocto/message/60116
> Mute This Topic: https://lists.yoctoproject.org/mt/99106807/5407716
> Mute #hardknott:
> https://lists.yoctoproject.org/g/yocto/mutehashtag/hardknott
> Group Owner: yocto+owner@lists.yoctoproject.org
> Unsubscribe:
> https://lists.yoctoproject.org/g/yocto/leave/9395733/5407716/611402581/xyzzy
> [bill@plunkware.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>

[-- Attachment #2: Type: text/html, Size: 3752 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by bin/cmake) #hardknott
  2023-05-24 20:22   ` Bill Plunkett
@ 2023-05-27 12:08     ` Mahendra Sondagar
  0 siblings, 0 replies; 5+ messages in thread
From: Mahendra Sondagar @ 2023-05-27 12:08 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 106 bytes --]

Hi.... @Bill

Thanks

Yes, it's working with the Ubuntu LTS

The issue has been resolved

Thanks

[-- Attachment #2: Type: text/html, Size: 169 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-05-27 12:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-24 12:04 libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by bin/cmake) #hardknott Mahendra Sondagar
2023-05-24 16:43 ` [yocto] " Khem Raj
2023-05-24 20:12 ` Richard Purdie
2023-05-24 20:22   ` Bill Plunkett
2023-05-27 12:08     ` Mahendra Sondagar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.