After installing Ubuntu 8.04 and H3C Internet authentication, the following error occurs:
Linux1x: Error while loading shared libraries: libstdc ++-libc6.2-2. so.3: cannot open shared object file: no such file or directory
After finding a meeting, I finally found libstdc1_0000-libc6.2-2.so.3 on the Internet (after downloading, go to. GIF)
Some online solutions are attached:
If the error message "libstdc ++-libc6.2-2" is missing. so.3, create a file named libstdc ++-libc6.2-2 under/usr/lib. so.3 C ++ standard library file (this method is the simplest)
Method: Create a soft link named libstdc ++-libc6.2-2. so.3 under/usr/lib to a later version of libstdc ++.
Code:
$ CD/usr/lib
$ Ls libstdc ++ *
The result of the LS command on my system is libstdc ++. so.5.0.7 libstdc ++. so.6.0.8.
Libstdc ++. so.6.0.8 is what we are looking.
Code:
$ Sudo ln-s libstdc ++. so.6.0.8 libstdc ++-libc6.2-2. so.3
At this time, you can try the linux1x command again.
Or copy libstdc ++. So. x to/usr/lib and name it libstdc ++-libc6.2-2. so.3.
Code:
$ Sudo CP libstdc ++. so.6.0.8 libstdc ++-libc6.2-2. so.3
==============
When you run linux1x for the first time, the system prompts that a file is missing (remember the Standard C ++ library starting with libstdc ++ .) In fact, this library file exists in the system, but it is not called. You can use the "locate libstdc ++" command to find the most similar file (located under/usr/share/lib, but you cannot remember it ), copy the file in the directory where the file is located and name it as the file name prompted in the request. You can use the sudo permission ).