working on Centos 5.8 in a VM environment
I need some help with LFTP :
[code]configure: error: Package requirements (gnutls >= 1.0.0) were not met: No package 'gnutls' found Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix. Alternatively, you may set the environment variables LIBGNUTLS_CFLAGS and LIBGNUTLS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.[/code]
i get this error after i fixed Readline-devel and Glibc-devel (both took atleast 30 minutes to find a solution).
i got the [code]gnutls-1.4.1-3.el5_4.8.i386.rpm[/code] installed though.
Ps. looking at the version numbers is this still supported?
need help with LFTP
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
need help with LFTP
Welcome to the CentOS fora. Please see the recommended reading for new users linked in my signature.
Please read about [url=http://www.centos.org/modules/newbb/viewtopic.php?topic_id=14408&forum=47]Installing Software[/url] and [url=http://wiki.centos.org/AdditionalResources/Repositories]Repositories[/url], and note the warnings and advice about installing and configuring the [url=http://wiki.centos.org/PackageManagement/Yum/Priorities]yum priorities plugin[/url]. Non-core repos should have a higher numeric value, which is a lower priority. Lower is "better" as in golf scores.
Please pay particular attention to the evils of [url=http://wiki.centos.org/PackageManagement/SourceInstalls]Source Installs[/url]. Source installs as root are particularly dangerous.
It's not clear what you are trying to configure. If you need lftp then [code]yum install lftp[/code]
Please read about [url=http://www.centos.org/modules/newbb/viewtopic.php?topic_id=14408&forum=47]Installing Software[/url] and [url=http://wiki.centos.org/AdditionalResources/Repositories]Repositories[/url], and note the warnings and advice about installing and configuring the [url=http://wiki.centos.org/PackageManagement/Yum/Priorities]yum priorities plugin[/url]. Non-core repos should have a higher numeric value, which is a lower priority. Lower is "better" as in golf scores.
Please pay particular attention to the evils of [url=http://wiki.centos.org/PackageManagement/SourceInstalls]Source Installs[/url]. Source installs as root are particularly dangerous.
It's not clear what you are trying to configure. If you need lftp then [code]yum install lftp[/code]
-
- Posts: 1
- Joined: 2015/09/11 02:14:37
Re: need help with LFTP
For archival purposes I figured I add my solution. I think the only thing you were missing was the gnutls-devel package. I recently ran into the same issue with Centos 6.7. The version of lftp through yum was producing segmentation fault as described here: https://bugs.debian.org/cgi-bin/bugrepo ... bug=551062. The only solution I could come up with was to install from source. Here are the commands I went through to accomplish that.
Code: Select all
yum remove lftp
wget http://lftp.yar.ru/ftp/lftp-4.6.4.tar.gz
tar -xvf lftp-4.6.4.tar.gz
cd lftp-4.6.4
yum install readline-devel
yum install gnutls-devel
./configure
make
sudo make install
ln -s /usr/local/bin/lftp /usr/bin/lftp
lftp -v