Workaround for brew install “pam_yubico” in MAC OS X 10.11 El Capitan

Workaround for brew install “pam_yubico” in MAC OS X 10.11 El Capitan

Step by-step guide.

1.Find the downloaded archive file in /Library/Caches/Homebrew/pam_yubico-2.19.tar.gz

2.Extract the archive and “cd yubico-pam-2.19

3.Edit the file “Makefile.am” and change line no:77 and 80 with the following lines:
line 77: $(A2X) –format=manpage –no-xmllint -a revdate=”Version $(VERSION)” $<
line 80: $(A2X) –format=manpage –no-xmllint -a revdate=”Version $(VERSION)” $<

4.run the following command inside the folder “yubico-pam-2.19”

autoreconf -fvi

./configure –prefix=/usr/local/Cellar/pam_yubico/2.19 –with-libyubikey-prefix=/usr/local/opt/libyubikey –with-libykclient-prefix=/usr/loc

make install

5.verify with “brew list” that installation is successfully.

copy the file “pam_yubico.so” to “/usr/local/lib
7.Follow the guide here : https://www.yubico.com/wp-content/uploads/2015/04/YubiKey-OSX-Login.pdf

Credits to https://github.com/dlo for the “–no-xmllint ” hint.

For more details contact me at senad.aruc@gmail.com
http://www.senadaruc.com

Thanks.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

Up ↑

%d bloggers like this: