It does look like your host's library is not compatible with whatever was used to compile that C hello world.
You can't in general download and run dynamically linked programs built for other toolchains, you either have to build it yourself (often the easiest thing to do) or somehow obtain a compatible toolchain. On Tue, Jun 2, 2020 at 4:53 PM Javed Osmany via gem5-users <gem5-users@gem5.org> wrote: > > Hello > > > > Looking in /usr/lib64 on my system, it shows: > > > > [j00533938@lhrplinux00001 lib64]$ pwd > > /usr/lib64 > > [j00533938@lhrplinux00001 lib64]$ /bin/ls -al libstdc* > > lrwxrwxrwx 1 root root 19 Sep 26 2019 libstdc++.so.6 -> > libstdc++.so.6.0.19 > > -rwxr-xr-x 1 root root 991616 Aug 6 2019 libstdc++.so.6.0.19 > > > > Just wondering if this is an issue with not linking to the correct version of > libstdc++.so > > > > Tks in advance. > > > > > > JO > > > > > > From: Javed Osmany > Sent: 02 June 2020 16:11 > To: gem5 users mailing list <gem5-users@gem5.org> > Cc: Javed Osmany <javed.osm...@huawei.com> > Subject: Running Gem5/Ruby tests > > > > Hello > > > > I am trying to get started running some very simple tests on Gem5/Ruby. > However, I am getting errors: > > > > [j00533938@lhrplinux00001 gem5]$ ./build/X86_MSI/gem5.opt > configs/example/se.py --ruby --cpu_type=timing -c > tests/test-progs/hello/bin/x86/linux/hello > > ./build/X86_MSI/gem5.opt: /lib64/libstdc++.so.6: version `CXXABI_1.3.8' not > found (required by ./build/X86_MSI/gem5.opt) > > ./build/X86_MSI/gem5.opt: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not > found (required by ./build/X86_MSI/gem5.opt) > > > > > > [j00533938@lhrplinux00001 gem5]$ ./build/X86/gem5.opt configs/example/se.py > --ruby --cpu_type=timing -c tests/test-progs/hello/bin/x86/linux/hello > > ./build/X86/gem5.opt: /lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found > (required by ./build/X86/gem5.opt) > > ./build/X86/gem5.opt: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not > found (required by ./build/X86/gem5.opt) > > > > > > ./build/X86_MSI/gem5.opt configs/learning_gem5/part3/simple_ruby.py > > ./build/X86_MSI/gem5.opt: /lib64/libstdc++.so.6: version `CXXABI_1.3.8' not > found (required by ./build/X86_MSI/gem5.opt) > > ./build/X86_MSI/gem5.opt: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not > found (required by ./build/X86_MSI/gem5.opt) > > > > > > Any pointers to fix the above issues, greatly appreciated. > > > > Thanks in advance. > > > > JO > > > > _______________________________________________ > gem5-users mailing list -- gem5-users@gem5.org > To unsubscribe send an email to gem5-users-le...@gem5.org > %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s _______________________________________________ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s