`
kanwoerzi
  • 浏览: 1640303 次
文章分类
社区版块
存档分类
最新评论

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

 
阅读更多

在Fedora12下编译busybox 时,出现一点错误,搞了好长时间,这一步解决了。上传一下,也许能给有相同问题的有一些提示吧。顺便说一下,google里面搜专业技术方面的问题会好一点的。英文的东西读一下,也许能找到答案的。我搜到这样一个网页帮我解决的http://forums.fedoraforum.org/showthread.php?t=231184

其实这个是库的问题,要加入一个静态库,在fedora下:

# yum install glibc-static

安装后就可以了,下面是我在网上搜到的资料:

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 would be appreciated.

Thanks

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

gcc -static requires glibc-static

# yum install glibc-static

分享到:
评论

相关推荐

    CentOS7.2.1511 gcc4.8.5 通过编译的 tfs2.2.16

    /usr/bin/ld: cannot find -ljemalloc collect2: error: ld returned 1 exit statu 解决 curl -O http://www.canonware.com/download/jemalloc/jemalloc-4.0.4.tar.bz2 tar -jxvf jemalloc-4.0.4.tar.bz2 cd ...

    Fedora-14-i386-DVD Fedora-14-x86_64-DVD Fedora-14-i686-DVD

    前段时间我在网上fadora 14资源找到的,其中前三个是从普通网站上找到的,分别是Fedora-14-i386-DVD,Fedora-14-x86_64-DVD,Fedora-14-i686-Live-Desktop;后两个种子是在官网找到的,分别是:Fedora-14-i386-DVD....

    Name : ncurses-devel Version : 5.7

    -I /usr/include/ncursesw -lncursesw (compile and link against the wide-character, UTF-8, library) RPM found in directory: /mirror/archive.fedoraproject.org/fedora/linux/releases/11/Fedora/i386/os/...

    RPM-GPG-KEY-fedora-13-primary

    fedora14 make 降版本时需要用到这个key,将此文件放于/etc/pki/rpm-gpg/路径下,然后将符号链接RPM-GPG-KEY- fedora-i386链接到此文件。

    molecule-container-fedora:Fedora分子容器

    Fedora分子容器 基于的容器图像,用于测试角色。 分子场景示例 下面的示例molecule.yml是在Fedora 33上运行测试的场景。 --- dependency : name : galaxy driver : name : docker lint : | set -e yamllint . ...

    如何解决SELinux阻止虚拟机访问文件?

    当在共享路径上宿主的虚拟机运行时,主机给出以下信息:SELinux is preventing /usr/bin/qemu-kvm from read access on the directory share。  这时我该怎么办?我虚拟机的目的是在多个Linux版本上测试二进制,...

    Fedora64位操作系统 Fedora-Workstation-Live-x86_64

    Fedora-Workstation-Live-x86_64-26-1.5.iso 网盘下载链接 确保资源可用

    bashdb4.4适用于bash4.4版本以上

    fedora 26/27 编译安装bashdb 1 bashdb 4.4 适用于bash 4.4版本以上 1.1 bashdb 一款bash shell调试工具 1.2. 解压 #tar xvf ./bashdb-4.4-0.93.tar.bz2 1.3. 进入源码目录 #cd bashdb-4.4-0.93 2. 编译安装 ...

    gitlab安装脚本

    /bin/bash IP=`ifconfig eth0| grep "inet addr" | head -1 | cut -d : -f2 | awk '{print $1}'` ############yum update ,add epel ,add PIIAS source yum_ () { cd /etc/yum.repos.d/ yum install -y wget wget -...

    editplus.tar.gz

    ftp://ftp.ntua.gr/pub/FreeBSD/ports/distfiles/rpm/i386/fedora/8/glibc-2.7-2.i386.rpm ftp://ftp.ntua.gr/pub/FreeBSD/ports/distfiles/rpm/i386/fedora/8/glibc-common-2.7-2.i386.rpm ftp://ftp.pbone.net/...

    atom-ansible-vault:用于创建和修改ansible-vault文件的Atom程序包

    Atom Ansible-Vault软件包 ...Es: (fedora): /usr/bin/ansible-vault 启用自动解密和加密: This option enables automatic de/encryt on opening of vault files 使用在ansible.cfg项目中定义的Vault密码文件: If t

    ncurses-devel 5.7

    这个包是RPM,我在介绍文档里面写的很清楚,CSDN字符限制,只显示了一部分。抱歉, ...RPM found in directory: /mirror/archive.fedoraproject.org/fedora/linux/releases/11/Fedora/i386/os/Packages

    Fedora26/27 SecureCRT and SecureFX v8.1.2 破解版

    官方原版下载安装后破解,tar的包,fedora26和26下可直接使用, tar xf scrt-sfx.tar.gz mv scrt-sfx /opt/ 然后把里面的desktop放在/usr/share/application目录下 如果图标找不到就更改一下desktop文件里的路径即可

    jpcap for win & linux

    在官方网站上声明,JPCAP支持FreeBSD 3.x, Linux RedHat 6.1, Fedora Core 4, Solaris, and Microsoft Windows 2000/XP等系统。 经过本人亲自测试,在window环境和linux环境下面都是可用的,使用方法: window: 1....

    netease-cloud-music-rpm, 网易云音乐 rpm 打包 Fedora Linux / openSUSE / etc..zip

    netease-cloud-music-rpm, 网易云音乐 rpm 打包 Fedora Linux / openSUSE / etc.

    openstack kvm win7镜像制作

    下载virtio驱动,因为win默认不支持virtio驱动,而通过openstack管理虚拟机是需要virtio驱动的。...wget 'http://alt.fedoraproject.org/pub/alt/virtio-win/latest/images/bin/virtio-win-0.1-30.iso'

    postfix-dovecot-mysql-roundcube:带有dovecot和mysql和roundcube的postfix(从iRedmail使用)

    CentOS / RedHat / Fedora: # yum install git Debian / ubuntu / Mint: # apt-get install git # cd /usr/local/src/ && git clone https://github.com/SebastianUA/postfix-dovecot-mysql-roundcube.git ##...

    Fedora3x版本适用的网易云音乐rpm包(repo)

    netease-cloud-music] name=Copr repo for netease-cloud-music owned by vitzy baseurl=https://download.copr.fedorainfracloud.org/results/vitzy/netease-cloud-music/fedora-$releasever-$basearch/ type=rpm-...

    Fedora-17-i686-Live-Desktop.part09

    Fedora-17-i686-Live-Desktop.part09

    ansible-my-fedora:Ansible可以设置我的Fedora笔记本电脑-在Fedora 33上创建

    Ansible-fedora 一个简单的剧本,可以自动配置我的Fedora笔记本电脑。 这个角色的灵感来自: : 要求 安装fedora之后,只需安装ansible和git。 dnf install ansible git -y克隆此存储库git clone ...

Global site tag (gtag.js) - Google Analytics