vpn install on Fedora10 (2.6.27.19)

Installation, configuration and troubleshooting of the Cisco VPN Client on Linux systems

vpn install on Fedora10 (2.6.27.19)

Postby roger.mangin » Tue Mar 24, 2009 8:56 am

I'm trying to install Cisco VPN client (4.8.02.0030) on Fedora Core 10 (kernel 2.6.27.19) 64 bit.
I've downloaded the vpnclient-linux-x86_64-4.8.02.0030-k9 tar file, and applied 4.8.02-64bit.patch.
It compiles and installs (with only the warning about .libdriver64.so.cmd).
The service starts ok with /etc/init.d/vpnclient_init start.

However, vpnclient itself will not start.
vpnclient connect MyProfile
-bash: /usr/local/bin/vpnclient: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

If I run "file /opt/cisco-vpnclient/bin/vpnclient" it reports vpnclient: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.5, stripped. But if I run ldd on it, ldd reports "not a dynamic executable".

If I run "file /lib/modules/2.6.27.19-170.2.35.fc10.x86_64/CiscoVPN/cisco_ipsec.ko" it reports cisco_ipsec.ko: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped.

Now I'm really confused. Did this really build a 32-bit executable after building a 64-bit kernel module? If so, why?
Should the "modules" directory have gone under /lib64 instead of /lib?

What have I done wrong here?
roger.mangin
Private
Private
 
Posts: 3
Joined: Tue Mar 24, 2009 7:10 am

Re: vpn install on Fedora10 (2.6.27.19)

Postby tuxx-home.at » Tue Mar 24, 2009 2:45 pm

You need to have the ia32libs compatibility package installed on your distribution, I don't know what it is called on Fedora, but a quick search in your package management tool should reveal the true name.

The client installer you downloaded is a so-called bi-arch archive, that is it works on 32bit as well as 64bit systems.
The binaries itself seem to always be 32bit, but the kernel module will be compiled with 64bits.

Have you checked if the kernel module got loaded properly?

Code: Select all
lsmod | grep cisco


If it hasn't been loaded, you probably cannot run the loader because of the 32bit libraries missing as I mentioned above.
After you installed them, run

Code: Select all
/etc/init.d/vpnclient_init start


and the module should perfectly load in your running kernel, and then, vpnclient connections should work too.
User avatar
tuxx-home.at
Supreme Commander
Supreme Commander
 
Posts: 2199
Joined: Mon Jan 01, 2007 12:51 pm
Location: Vassach - Austria - Europe

Re: vpn install on Fedora10 (2.6.27.19)

Postby roger.mangin » Fri Mar 27, 2009 4:00 am

tuxx-home.at wrote:You need to have the ia32libs compatibility package installed on your distribution, I don't know what it is called on Fedora, but a quick search in your package management tool should reveal the true name.

The client installer you downloaded is a so-called bi-arch archive, that is it works on 32bit as well as 64bit systems.
The binaries itself seem to always be 32bit, but the kernel module will be compiled with 64bits.

Have you checked if the kernel module got loaded properly?

Code: Select all
lsmod | grep cisco


If it hasn't been loaded, you probably cannot run the loader because of the 32bit libraries missing as I mentioned above.
After you installed them, run

Code: Select all
/etc/init.d/vpnclient_init start


and the module should perfectly load in your running kernel, and then, vpnclient connections should work too.



Well, the good news is that "lsmod | grep cisco" reports "cisco_ipsec 597192 0". I guess that means the kernel module loaded ok.

But finding/installing the 32-bit libraries is no-go so far. I don't find ld-linux-so.2 by itself, it seems only available as part of glibc.
I've found at least 8 different glibc-2.9.x rpm packages, none of which will install (fail with "Can't install /tmp/glibc-2.9.3-1.rpm).

Is there either:
1. a way to get vpnclient to use /lib64/ld-linux-x86-64.so.2, or
2. an easier way to get /lib/ld-linux.so.2 without all the headaches of glibc rpm packages that won't install?

Thanks for the suggestions so far. Sorry to keep asking simple questions.
roger.mangin
Private
Private
 
Posts: 3
Joined: Tue Mar 24, 2009 7:10 am

Re: vpn install on Fedora10 (2.6.27.19)

Postby roger.mangin » Sat Mar 28, 2009 1:22 am

Perseverence! I found a glibc package which successfully installed. Once that was done, vpnclient started with no problems.

Summary: on Fedora Core 10 (kernel 2.6.27.19-170.2.35.fc10.x86_64) I am able to run cisco vpnclient (vpnclient-linux-x86_64-4.8.02.0030) after applying the 4.8.02-64bit.patch and installing glibc-2.9-3.i686.rpm (ftp://rpmfind.net/linux/fedora/updates/ ... 3.i686.rpm)
roger.mangin
Private
Private
 
Posts: 3
Joined: Tue Mar 24, 2009 7:10 am


Return to Cisco VPN Client on Linux systems

Who is online

Users browsing this forum: No registered users and 2 guests

cron