Saturday, November 3, 2012

Install Shrew Soft VPN Client for Linux

Shrew Soft's VPN client for Linux may have several gotchas when installing to your Linux box. The following instructions have been tested to work on CentOS 6, Fedora 17 and Lubuntu. There's another for MAC OS X.

1. Download the latest version here -

In the time of writing, it is the version 2.1.7.


2. Unzip the the tar file.

tar -xzvf ike-2.1.7-release.tgz

3. Ensure that you have cmake and qt3

For CentOS / RHEL / Fedora 

yum install  qt3 qt3-devel cmake

4. Install the VPN client (iked - daemon, ikea - vpn manager)

cd ike
cmake -DCMAKE_INSTALL_PREFIX=/usr -DQTGUI=YES -DETCDIR=/etc -DNATT=YES #the DCMAKE_INSTALL_PREFIX and DETCDIR options are very important for the application to resolve the shared libraries. If you encounter this error, "iked: error while loading shared libraries: cannot open shared object file: No such file or directory", then you've got a wrong cmake option.
make install

5. Test run the VPN client

iked #run the daemon
ikea -F #run the VPN manager
  • Related Links Widget for Blogspot


Ben Watson said...


Have encountered the "error while loading shared libraries" as detailed in your post, but unsure as to what cmake option needs to be changed. I'm assuming either DCMAKE_INSTALL_PREFIX or DETCDIR - but wondering what the parameters actually mean. I've pointed DCMAKE_INSTALL_PREFIX to both /usr and /usr/bin but still getting the error popping up when trying to run the 'iked' daemon...

Any help would be appreciated!

Ben Watson said...

Ignore this - massive blonde moment.

Expected CentOS to telepathically perform the ldconfig command (turns out the telepathy stack has yet to be integrated into the kernel, apparently).