Yubico Forum

...visit our web-store at store.yubico.com
It is currently Tue Jan 30, 2018 3:00 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Fri Mar 29, 2013 4:11 am 
Offline

Joined: Fri Mar 29, 2013 4:01 am
Posts: 1
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.


Top
 Profile  
Reply with quote  

Share On:

Share on Facebook FacebookShare on Twitter TwitterShare on Tumblr TumblrShare on Google+ Google+

PostPosted: Tue Apr 02, 2013 7:16 am 
Offline
Site Admin
Site Admin

Joined: Thu Apr 19, 2012 1:45 pm
Posts: 148
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.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group