0
我Wnt信号安装从http://www.linuxfromscratch.org/blfs/view/svn/postlfs/openssh.htmlopenssh
(我不希望使用使用yum包)libedit未发现:Centos的,安装OpenSSH
--with-libedit [= PATH]启用SFTP
libedit支持./configure --prefix=/usr/bin/openssh \
--sysconfdir=/etc/ssh --with-md5-passwords \
--with-libedit=/usr/lib --with-pam
但我有此错误:
...
checking for pkg-config... /usr/bin/pkg-config
checking if /usr/bin/pkg-config knows about libedit... no
checking for el_init in -ledit... no
configure: error: libedit not found
检查1:
# find /usr/lib/ -iname "libedit.*"
/usr/lib/libedit.so
/usr/lib/libedit.so.0.0.27
/usr/lib/libedit.so.0
#
INI:编辑1
# ls -Al /usr/lib/libedit*
lrwxrwxrwx. 1 root root 21 Nov 27 08:47 /usr/lib/libedit.so -> /usr/lib/libedit.so.0
lrwxrwxrwx. 1 root root 17 Jun 13 10:12 /usr/lib/libedit.so.0 -> libedit.so.0.0.27
-rwxr-xr-x. 1 root root 159968 Aug 19 2010 /usr/lib/libedit.so.0.0.27
#
# rpm -qa | grep libedit
libedit-2.11-4.20080712cvs.1.el6.i686
#
# rpm -qi libedit-devel
package libedit-devel is not installed
#
# rpm -qi libedit
Name : libedit Relocations: (not relocatable)
Version : 2.11 Vendor: CentOS
Release : 4.20080712cvs.1.el6 Build Date: Thu 19 Aug 2010 08:40:35 AM UTC
Install Date: Sat 13 Jun 2015 10:12:01 AM UTC Build Host: c6b3.bsys.dev.centos.org
Group : System Environment/Libraries Source RPM: libedit-2.11-4.20080712cvs.1.el6.src.rpm
Size : 166800 License: BSD
Signature : RSA/8, Sun 03 Jul 2011 04:22:56 AM UTC, Key ID 0946fca2c105b9de
Packager : CentOS BuildSystem <http://bugs.centos.org>
URL : http://www.thrysoee.dk/editline/
Summary : The NetBSD Editline library
Description :
Libedit is an autotool- and libtoolized port of the NetBSD Editline library.
It provides generic line editing, history, and tokenization functions, similar
to those found in GNU Readline.
#
END:编辑1
但我收到了同样的错误......
¿如何解决这个问题?
ls“/ usr/lib/libedit *”会返回什么?另外,从这个线程:http://www.gossamer-threads.com/lists/openssh/dev/45870它可能会在/ usr/lib/lib中查找。尝试运行“bash -x ./configure bla bla”并查看它实际在哪里查找libedit。 – cristi
是否已安装'libedit-devel' rpm软件包? ('rpm -qi libedit-devel');并且,你确定你在i686上,而不是在x86_64上? –