Yubico Forum
https://forum.yubico.com/

Yubico-c-client error on Raspberry Pi
https://forum.yubico.com/viewtopic.php?f=5&t=1016
Page 1 of 1

Author:  m6sig [ Fri Mar 29, 2013 4:11 am ]
Post subject:  Yubico-c-client error on Raspberry Pi

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.

Author:  Klas [ Tue Apr 02, 2013 7:16 am ]
Post subject:  Re: Yubico-c-client error on Raspberry Pi

Hello,

I believe your problem comes from running make -f simple.mk instead of just make.

We'll look over where we point at for contact, obvioyusly yubico-devel is no good anymore.. =)

/klas

Edit:
Or that might not be the case.. but it's probably a good idea to skip that steap anyways.

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/