Skip to content

Instantly share code, notes, and snippets.

@cxhercules
Last active December 19, 2016 07:28
Show Gist options
  • Save cxhercules/5b3bafc7b3fe6c6d5ea0b8b4d3be29a9 to your computer and use it in GitHub Desktop.
Save cxhercules/5b3bafc7b3fe6c6d5ea0b8b4d3be29a9 to your computer and use it in GitHub Desktop.
Compiling Yubico yubico-piv-tool
I was getting this error when doing normal configure, make, and install magic:
./configure
make
Making all in lib
Making all in .
CC ykpiv.lo
ykpiv.c:37:10: fatal error: 'openssl/des.h' file not found
#include <openssl/des.h>
^
1 error generated.
make[2]: *** [ykpiv.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
Had to update to this after brew installing openssl:
export CPPFLAGS="-I/usr/local/opt/openssl/include" && export LDFLAGS="-L/usr/local/opt/openssl/lib" && ./configure
make
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment