I'm having problems getting openvpn 2.0 to build with LZO support. At first, I didn't have the LZO library installed, so I downloaded the source and installed it. Unfortunately, the openvpn configure script still can't find the libraries or headers.
I searched for the files that openvpn was looking for, and found them in /usr/local/include and /usr/local/lib. I've added these paths to /etc/ld.so.conf and run ldconfig, but still no luck configuring openvpn, it just comes back with:
configure: checking for LZO Library and Header files...
checking lzo1x.h usability... no
checking lzo1x.h presence... no
checking for lzo1x.h... no
LZO library and headers not found.
LZO library available from http://www.oberhumer.com/opensource/lzo/
configure: error: Or try ./configure --disable-lzo
I have tried configure both with and without "--with-lzo-headers" and "--with-lzo-lib", I've also tried symlinking the lzo libraries and headers to /usr/lib and /usr/include respectively, still without getting it working.
Does anyone have any idea how to resolve this?