Fedora busybox/usr/bin/ld: cannot find-lcrypt

Source: Internet
Author: User

A bug occurred when compiling busybox under fedora12. It took a long time to solve this problem. Upload the file. You may be notified of the same problem. By the way, it would be better to search for technical issues in Google. You may find the answer after reading English. I found such a web page to help me solve the http://forums.fedoraforum.org/showthread.php? T = 231184

In fact, this is a database problem. To add a static database, under fedora:

# Yum install glibc-static

After installation, the following information is found on the Internet:

Libcrypt Problem

 

Hi,

I'm having a problem with libcrypt. I'm trying to build busybox, but get the following error: "/usr/bin/ld: cannot find-lcrypt ".

I know that this worked on my F10 installation (Before upgrading to F11 ).

"Rpm-Q -- list glibc | grep crypt" gives this:

/Lib/libcrypt-2.10.1.so

/Lib/libcrypt. so.1

And "ldconfig-p | grep libcrypt" gives this:

Libcrypt. so.1 (libc6, OS ABI: Linux 2.6.18) =>/lib/libcrypt. so.1

Libcrypt. So (libc6, OS ABI: Linux 2.6.18) =>/usr/lib/libcrypt. So

Some help with this wocould be appreciated.

Thanks

 

I suspect you're trying to compile a static version of busybox.

Gcc-static requires glibc-static

# Yum install glibc-static

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.