yubikey-personalization icon indicating copy to clipboard operation
yubikey-personalization copied to clipboard

configure: error: libyubikey v1.5+ not found, see https://developers.yubico.com/yubico-c/

Open sunknudsen opened this issue 2 years ago • 1 comments

$ ls
yubico-c
yubikey-personalization

How can one link to yubico-c when running ./configure in yubikey-personalization?

Binaries from yubico-c have been compiled using make check.

Thanks for helping out!

sunknudsen avatar Aug 30 '22 10:08 sunknudsen

UPDATE: was able to run ./configure in yubikey-personalization after running sudo make install in yubico-c (which I would like to avoid).

That said, after running make check in yubikey-personalization, running cat ykchalresp reveals that ykchalresp is a wrapper not a binary.

$ cat ykchalresp
#! /bin/sh

# ykchalresp - temporary wrapper script for .libs/ykchalresp
# Generated by libtool (GNU libtool) 2.4.7
#
# The ykchalresp program cannot be directly executed until all the libtool
# libraries that it depends on are installed.
#
# This wrapper script should never be moved out of the build directory.
# If it is, it will not operate correctly.
…

Would anyone happen to know why? Trying to compile ykchalresp binary that is self-contained (meaning I can copy paste binary to another computer of same architecture and things just work).

sunknudsen avatar Aug 30 '22 10:08 sunknudsen