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/uploa ... -Login.pdfCredits to
https://github.com/dlo for the "--no-xmllint " hint.
Thanks.