Error while loading shared libraries: libstdc ++-libc6.2-2. so.3: cannot open shared object file: No S

Source: Internet
Author: User
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 ).

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.