Friday, March 13, 2009

Aventail VPN client on Ubuntu 08.10 64bit

The Aventail VPN client is a 32bit application linking against libssl and libcrypto 0.9.7. Ubuntu 08.10 comes with version 0.9.8 of these libraries, yielding this error:

$ startct
/usr/local/Aventail/AvConnect: error while loading shared libraries: libssl.so.0.9.7: cannot open shared object file: No such file or directory

Or more specifically:

$ ldd AvConnect
linux-gate.so.1 => (0xf7f10000)
libpthread.so.0 => /lib32/libpthread.so.0 (0xf7edc000)
libssl.so.0.9.7 => not found
libcrypto.so.0.9.7 => not found
libm.so.6 => /lib32/libm.so.6 (0xf7eb5000)
libc.so.6 => /lib32/libc.so.6 (0xf7d57000)
/lib/ld-linux.so.2 (0xf7f11000)

The fix is easy and hands-on. Run these commands:

cd /lib32
sudo ln -s /usr/lib32/libssl.so.0.9.8
sudo ln -s libssl.so.0.9.8 libssl.so.0.9.7
sudo ln -s /usr/lib32/libcrypto.so.0.9.8
sudo ln -s libcrypto.so.0.9.8 libcrypto.so.0.9.7

If you don't have the /lib32-directory, install the linux32 package first.

No comments: