The glibc installation segment is incorrect.

Source: Internet
Author: User
The glibc installation segment is incorrect. -- Linux general technology-Linux technology and application information. For details, refer to the following section. [I = s] This post was last edited by zdl_361

LFS is so depressing that I didn't follow the LFS guide to create a new user to compile the system. The root account is used directly.
Well, I 've failed many times and gave up for a few days. Delete all the files and try again.
This time, gcc and glibc versions on the host system are used. Mpfr gmp is also consistent with the host system. The compilation is successful. Until glibc is installed.
Glibc compilation succeeds normally, but the make install process suddenly fails. In addition to the built-in commands, bash cannot execute any other commands under the root account. A "segment error" is displayed ".
However, other accounts can execute commands normally. Only root does not work.
Then I used su-c 'vim/etc/passwd' to modify the default shell of root to/bin/zsh.
Then su switches to root.
Everything works normally under zsh, but it still doesn't work if it is switched back to bash.
I tried the sh command to link it to bash and run normally.
It's strange that make install has done something. Why is this strange problem caused by root bash.
I think bash should be okay. Because ldd does not change its database. It works normally under other accounts.
-------
The problem is briefly described
Fedora 11. Upgrade the kernel to 2.6.35.2.
Gcc 4.4.0, mpfr 2.4.1 gmp 4.2.4 are not installed with any patches
When you install glibc 2.11.2 make install, a segment error occurs.
A segment error occurs when executing non-built-in commands in bash of the root account. Root uses other shells normally.
Other accounts run bash normally
-------
How can I correct this problem ????

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.