On AMD64 boxes, the libvpnapi.so library is in the /opt/cisco-vpnclient/lib64/ directory. The "vpnclient" binary fails to load the shared library. The workaround is to set the LD_LIBRARY_PATH manually to that directory before running vpnclient. # vpnclient vpnclient: error while loading shared libraries: libvpnapi.so: cannot open shared object file: No such file or directory # ldd /usr/bin/vpnclient linux-gate.so.1 => (0xffffe000) libvpnapi.so => not found libm.so.6 => /lib32/libm.so.6 (0x4ad86000) libc.so.6 => /lib32/libc.so.6 (0x4d2a8000) /lib/ld-linux.so.2 (0x4d28d000) # ls -l /opt/cisco-vpnclient/lib64/libvpnapi.so -rwxr-xr-x 1 root root 281164 Jun 25 11:01 /opt/cisco-vpnclient/lib64/libvpnapi.so # LD_LIBRARY_PATH=/opt/cisco-vpnclient/lib64 vpnclient Cisco Systems VPN Client Version 4.0.3 (B) Copyright (C) 1998-2003 Cisco Systems, Inc. All Rights Reserved. Client Type(s): Linux Running on: Linux 2.6.11-gentoo-r11 #1 Wed Jun 15 23:15:12 IST 2005 i686 Usage: vpnclient connect <profile> [user <username>] [eraseuserpwd | pwd <password>] [nocertpwd] vpnclient disconnect vpnclient stat [reset] [traffic] [tunnel] [route] [repeat] vpnclient notify # Reproducible: Always Steps to Reproduce: 1. vpnclient 2. 3. Actual Results: # vpnclient vpnclient: error while loading shared libraries: libvpnapi.so: cannot open shared object file: No such file or directory Expected Results: # vpnclient Cisco Systems VPN Client Version 4.0.3 (B) Copyright (C) 1998-2003 Cisco Systems, Inc. All Rights Reserved. Client Type(s): Linux Running on: Linux 2.6.11-gentoo-r11 #1 Wed Jun 15 23:15:12 IST 2005 i686 Usage: vpnclient connect <profile> [user <username>] [eraseuserpwd | pwd <password>] [nocertpwd] vpnclient disconnect vpnclient stat [reset] [traffic] [tunnel] [route] [repeat] vpnclient notify #
Fixed in CVS... emerge sync and try again...
That was fast! Thanks!