|
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
OpenBSD 4.0/i386, openvpn-2.0.9, and lzo-2.02
Per the INSTALL file, running this command:
./configure --with-lzo-headers=/usr/local/include/lzo \
--with-lzo-lib=/usr/local/lib
returns this error:
LZO headers were found but LZO library was not found
but the library files are there:
# locate lzo2
/usr/local/include/lzo/lzo2a.h
/usr/local/lib/liblzo2.a
/usr/local/lib/liblzo2.la
The configure.ac file might be looking for lzo 1.x libraries, I think
(see the AC_CHECK_LIB macro):
if test -n "$LZO_H"; then
havelzolib=0
for i in $lzolibs ; do
if test $havelzolib = 1 ; then break ; fi
AC_CHECK_LIB($i, lzo1x_1_15_compress,
[
OPENVPN_ADD_LIBS(-l$i)
AC_DEFINE(USE_LZO, 1, [Use LZO compression library])
havelzolib=1
]
)
done
if test $havelzolib = 0 ; then
AC_MSG_ERROR([LZO headers were found but LZO library was not found])
fi
What's the correct method to compile OpenVPN with lzo2 support?
many thanks
dn
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
iD8DBQFFn+mOyPxGVjntI4IRAvlwAJ9fX8n0l1+UCQxcco/1hGZlGiLznACbB7vS
b76ldyDcoeJ/lqKFHmWKS2M=
=q4pm
-----END PGP SIGNATURE-----
______________________
OpenVPN mailing lists
https://lists.sourceforge.net/lists/listinfo/openvpn-users
|