Subject: | Missing -lgcrypt. |
Date: | Sun, 18 Mar 2007 17:05:21 +0100 |
To: | bug-XML-LibXSLT [...] rt.cpan.org |
From: | Morgan Nilsson <morgan [...] lysator.liu.se> |
I think that -lgcrypt is missing in the linking.
Steps to reproduce:
1. Try to cross compile 32 bit perl on x86_64.
2. Install libgcrypt.i386, and other needed i386 stuff.
3. perl -MCPAN -e "install XML::LibXSLT"
gives errors in "make test"
LibXSLT.so: undefined symbol: gcry_check_version
Workaround:
Manually running:
perl Makefile.PL LIBS="$(xslt-config --libs) -lgcrypt"
INC="$(xslt-config --cflags)