Yubico / yubikey-personalization

YubiKey Personalization cross-platform library and tool
https://developers.yubico.com/yubikey-personalization/
BSD 2-Clause "Simplified" License
297 stars 83 forks source link

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

Open sunknudsen opened 1 year ago

sunknudsen commented 1 year ago
$ 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 commented 1 year ago

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).