Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97269 - vpnclient (cisco-vpnclient-3des-4.6.03.0190) fails to load libvpnapi.so shared library
Summary: vpnclient (cisco-vpnclient-3des-4.6.03.0190) fails to load libvpnapi.so share...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Chris Gianelloni (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-27 20:17 UTC by Venky TV
Modified: 2005-06-28 22:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Venky TV 2005-06-27 20:17:07 UTC
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
#
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2005-06-28 06:50:41 UTC
Fixed in CVS... emerge sync and try again...
Comment 2 Venky TV 2005-06-28 22:14:38 UTC
That was fast!  Thanks!