I changed the name of the pthread library and almost finished the system.

Source: Internet
Author: User

Today, when I was calling a compilation question, I was on the rise:/lib/libpthread. so.0 (is that the name? . Then the tragedy came. The name cannot be changed. MV, CP, ls and other commands are useless. The error message is that the pthread library cannot be found. Windows cannot be opened in the desktop environment. From the window, the Telnet window cannot be used.

What should I do? I am not afraid to shut down the system either. I suspect that the system will not be able to start again.

How can I change the name back?

Enter commands there to see which commands can be used. CD is acceptable, but this command does not work. Try it. Try the change command (this is a small one I wrote myself ).ProgramIn/usr/bin ). This is actually available. This is good.

Follow these steps to change pthread back.

Change libpthread. so.0 _ BK temp. So (convert pthread to big-end Mode)

Change temp. So libpthread. so.0 (convert the big-end mode back to the small-end)

A false shock.

Do you have other methods?

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.