Hi all,
I tried setup my RPi for SSH login with Yubikey.
After I install the yubico-c-client on my RPi, I get a error message said"ykclient: error while loading shared libraries: libykclient.so.3: cannot open shared object file: No such file or directory"
I'm using the newest Raspbian and the hardware is 512MB memory version.
And I'm doing everything in root
Here is my bash log:
Code:
git clone git://github.com/Yubico/yubico-c-client.git
cd yubico-c-client
apt-get install autoconf
apt-get install automake
apt-get install libtool
apt-get install libcurl4-nss-dev
autoreconf --install
./configure
make -f simple.mk check
make install
Here is the last couple lines of message after I hit the make install:
Code:
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/mkdir -p '/usr/local/bin'
/bin/bash ./libtool --mode=install /usr/bin/install -c ykclient '/usr/local/bin'
libtool: install: /usr/bin/install -c .libs/ykclient /usr/local/bin/ykclient
/bin/mkdir -p '/usr/local/include'
/usr/bin/install -c -m 644 ykclient_server_response.h ykclient.h '/usr/local/include'
make[2]: Leaving directory `/home/openvpn/yubico/yubico-c-client'
make[1]: Leaving directory `/home/openvpn/yubico/yubico-c-client'
Making install in tests
make[1]: Entering directory `/home/openvpn/yubico/yubico-c-client/tests'
make[2]: Entering directory `/home/openvpn/yubico/yubico-c-client/tests'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/openvpn/yubico/yubico-c-client/tests'
make[1]: Leaving directory `/home/openvpn/yubico/yubico-c-client/tests'
When I type ykclient, I get the error message said:
Code:
ykclient: error while loading shared libraries: libykclient.so.3: cannot open shared object file: No such file or directory
So. Could anyone help me to find out what is happening?
I also setup SSH login with yubico-pam on a Centos 6 X64 server and everything work just fine.
So I'm confused.
BTW, I tired to email
yubico-devel@googlegroups.com for the problem I have with yubico-c-client. I get everything from github and the wiki page said if there is any problem, talk to
yubico-devel@googlegroups.com. But I get a autoreply from google said they are unable to send my e-mail to that group.