LFTP issues

Hi,

Our system is SLES 11.1 SP2 Kernel Linux 3.0.13 -.027

Currently lftp version 3.6 is installed but it only works manually and does not work through scripts.

The lftp “version” command shows nothing besides the Libraries used.

We have other systems with lftp working and it shows one of the following:

Libraries used: Readline 5.1

Libraries used: Expat 2.0.0

I then try installing latest version lftp-4.4.15 and it shows the following error:

[COLOR="#FF0000"]checking for LIBGNUTLS… no

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.
[/COLOR]

I checked and LIBGNUTLS libraries are already installed.

Readline 6.2 library are also installed

I contacted LFTP support but after a week I’ve received no reply.

Thank you for your help!
Ed

Are you aware that general support for SP2 has now ended?

You don’t say what it is you are doing to try and install lftp, but based on what you’ve posted it looks like you’re trying to build it from source, is that correct?

You say that libgnutils is already installed but do you have the libgnutils-devel package installed? It’s not in SLES, but is it in the SLE SDK which can be downloaded from https://download.suse.com/ (SLE-SDK 11 SP2 is at https://download.suse.com/Download?buildid=NgW3ToaagDQ~ you only need DVD1)

Alternatively, there are pre-built packages for lftp at http://software.opensuse.org/package/lftp

Thanks for you reply Mike:

[QUOTE=mikewillis;19703]Are you aware that general support for SP2 has now ended?

sorry I’m not

You don’t say what it is you are doing to try and install lftp, but based on what you’ve posted it looks like you’re trying to build it from source, is that correct?

I guess I was, downloaded the package from lftp site and then did a ./install

You say that libgnutils is already installed but do you have the libgnutils-devel package installed? It’s not in SLES, but is it in the SLE SDK which can be downloaded from https://download.suse.com/ (SLE-SDK 11 SP2 is at https://download.suse.com/Download?buildid=NgW3ToaagDQ~ you only need DVD1)

When I tried to install the libgnutls-devel package it showed the Solvable libxxxxxxxxxxxxx conflicts with libffi4 provided by itself
conflict resolution - do not install…

Alternatively, there are pre-built packages for lftp at http://software.opensuse.org/package/lftp[/QUOTE]

I started the installation from the prebuilt package and then it added file repositories for open suse 13.1
Looks like it downloaded and updated a whole bunch of files from the 13.1 site and near the end of the installation it showed:
Solvable libffi4-48.1_20130909-3.2.1.x86_64 conflicts with libffi4 provided by itself
conflict resolution - do not install lftp-4.40-6.1.3x86-64
I had no choice but to quit.

Am I wrong to let it add the software repositories for opensuse 13.1 and has now created version conflicts for a lot files now?

Please help!
Ed

Oh geeeez… yes, because you’re not using openSUSE 13.1. Sorry, I should have explicitly stated that you use the packages for SUSE SLE-11 SP 2.

Have you actually installed any additional packages though? What you posted makes me think you haven’t because you said no to installing lftp. If you didn’t try to update or install anything before that you’re probably OK.

It’s a little curious actually because if I follow that link I gave you on a machine running openSUSE 13.1 I get a list of all the different distros for which packages are available. If I follow the link on a machine running SLED 11 SP3 I get a big green button inviting me to click for openSUSE 13.1 version and all the other versions are hidden unless I click the relatively small, light grey on white, ‘show other versions’ underneath that button. That’s not helpful and I’m sure it’s not what I got when I clicked the link before submitting the post to verify it went to the right place.

I’ll post again shortly, I need to test my idea for how you check whether you installed any openSUSE 13.1 packages.

OK, so if you clicked the big inviting green button to install the openSUSE 13.1 package then you’ve added the openSUSE 13.1 oss repo. You should be able to get rid of that by running the following commands as root

$ zypper clean -a $ cd /etc/zypp/repos.d $ rm openSUSE:13.1.repo
The zypper command cleans up the cache, it’s not essential but I’ve found that if you don’t clean the cache before removing a repo anything related to that repo hangs around taking up disk space (which could be quite a bit if the repo is configured to keep a copy of any packages downloaded)
The rm is a blunt way to remove the repo.

Any packages installed from that repo will have a vendor of ‘openSUSE’. This command will give you a list of any packages that have that as the vendor

$ rpm -qa --queryformat='%{name} %{vendor}\ ' | grep ' openSUSE$'
On an unadulterated SLES install that command will return no output. If it does return output then I can give you another command that’ll take that output and turn it in to a list of packages you need to rip out then re-install the SLES versions of. When I say this I’m assuming that you have the proper SLES repos set up. It would help if you can post the output of

$ zypper lr -u

It helps a lot with readability if you post the output wrapped in CODE tags (look for the # button in the toolbar when composing a post)

I’m a little wary of what if the rpm query command is going to return even if you didn’t install any packages as a result of trying to install the openSUSE 13.1 version of lftp though because your original post says " Readline 6.2 library are also installed" and SLES 11 SP2 includes version 5, not 6.