On 3/26/2010 8:31 AM, Albrecht Mehl wrote: > > Shame on me ... I made a mistake while compiling. Now I think I got that > straightened out ... but I still cannot open the scripts. > > I started the compilation by > > XXXXXXXXXXXXXXXXXXXXXXXXXXXX > > 001109ea63a6:/usr/local/bin/shrewvpn/ike # cmake > -DCMAKE_INSTALL_PREFIX=/usr -DQTGUI=YES -DETCDIR=/etc -DNATT=YES . > > XXXXXXXXXXXXXXXXXXXXXXXXXXX > > At the end of the make install the output was > > XXXXXXXXXXXXXXXXXXXXXXXX > > Linking CXX executable CMakeFiles/CMakeRelink.dir/iked > Linking CXX executable CMakeFiles/CMakeRelink.dir/ikea > Linking CXX executable CMakeFiles/CMakeRelink.dir/ikec > Install the project... > -- Install configuration: "" > -- Installing: /usr/sbin/iked > -- Up-to-date: /usr/local/man/man8/iked.8 > -- Up-to-date: /usr/local/man/man5/iked.conf.5 > -- Up-to-date: /etc/iked.conf.sample > -- Installing: /usr/lib/libike.so.2.1 > -- Installing: /usr/lib/libike.so > -- Installing: /usr/lib/libpfk.so.2.1 > -- Installing: /usr/lib/libpfk.so > -- Installing: /usr/bin/ikea > -- Up-to-date: /usr/local/man/man1/ikea.1 > -- Installing: /usr/bin/ikec > -- Up-to-date: /usr/local/man/man1/ikec.1 > 001109ea63a6:/usr/local/bin/shrewvpn/ike # > > XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX > > I then tried in vain to open iked: > > XXXXXXXXXXXXXXXXXXXXXXXX > > 001109ea63a6:/usr/sbin # ./iked > ./iked: error while loading shared libraries: libike.so.2.1: cannot open > shared object file: No such file or directory > 001109ea63a6:/usr/sbin # > > XXXXXXXXXXXXXXXXXXXXXXXXXXX > > This file libike.so.2.1 is in /usr/lib/ indeed, so I have no idea why it > cannot be found. A helpful hint what to do next would be most welcome. >
Try the following. Remove ike* from /usr/local/bin /usr/local/sbin and libike, libpfk from /usr/local/lib. Also remove ike* from /usr/bin,/usr/sbin and libike, libpfk from /usr/lib. After the system is cleaned up, run 'make clean' and then 'make install' from your build directory. Make sure you copy /etc/iked.conf.sample to /etc/iked.conf and then run iked to start the key daemon. Then launch ikea to get the gui front end. -Matthew _______________________________________________ vpn-help mailing list [email protected] http://lists.shrew.net/mailman/listinfo/vpn-help
