B
B
Berkutman2018-09-25 09:41:16
linux
Berkutman, 2018-09-25 09:41:16

Problem with libstdc++.so.6?

Hello everyone, there is a problem installing ./PacketTracer7: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by ./PacketTracer7) , version check showed the following

[[email protected] ~]# strings /usr/lib/libstdc++.so.6 | grep GLIBCXX
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_3.4.14
GLIBCXX_3.4.15
GLIBCXX_3.4.16
GLIBCXX_3.4.17
GLIBCXX_3.4.18
GLIBCXX_3.4.19
GLIBCXX_DEBUG_MESSAGE_LENGTH

The latest version of /libstdc++ is installed.
Package libstdc++-4.8.5-28.el7_5.1.i686 already installed and latest version

In general, you need a package 4.9 version supporting 3.4.20 and so on. Does anyone know where this package can be found?

Answer the question

In order to leave comments, you need to log in

[[+comments_count]] answer(s)
B
Berkutman, 2018-09-25
@Berkutman

I resolved the issue in the following way.

$ rpm2cpio gcc-libstdc++-4.9.1-1.ram0.99.x86_64.rpm | cpio -idmv

Copy libstdc++.so.6.0.20 to /usr/lib64/

Link:
1) $ cd /usr/lib64/
2) # rm libstdc++.so.6
3) # ln -s libstdc++.so.6.0.20 libstdc++.so.6

Then this error came up.
Starting Packet Tracer 7.2
/usr/local/bin/packettracer: line 8:  5562 Bus error               (core dumped) ./PacketTracer7 "[email protected]" > /dev/null 2>&1

The following was written in the log
Decided it like this
yum install -y openssl-devel
cp -i /usr/lib64/libcrypto.so.1.0.0 /opt/pt/bin

The program starts and runs.
Conclusion: centOS 7 is a wonderful OS.

A
Antony, 2018-09-25
@RiseOfDeath

Pay attention to the package name. It is customary for DEB and RPM to write the architecture at the end (i386, i686, AMD, ARMv7, MIPS, ANY, etc.). i686 is x86 (32 bit intels and the like), you need AMD64 (64 bit intels and the like)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question