[Openvpn-devel] Re: compile statically with LZO and SSL support?

2004-10-21 Thread Dirk Tronienne
Charles Duffy spamcop.net> writes: > > Instead of adding /usr/lib/liblzo.a, you should *replace* the -llzo with > it. Also, according to the error (the other two messages were warnings), > you need access to the dynamic linker (-ldl or /usr/lib/libdl.a on my > system) so the OpenSSL libraries ca

[Openvpn-devel] Re: compile statically with LZO and SSL support?

2004-10-21 Thread Charles Duffy
Instead of adding /usr/lib/liblzo.a, you should *replace* the -llzo with it. Also, according to the error (the other two messages were warnings), you need access to the dynamic linker (-ldl or /usr/lib/libdl.a on my system) so the OpenSSL libraries can access getservbyname() at runtime.

[Openvpn-devel] Re: compile statically with LZO and SSL support?

2004-10-21 Thread Dirk Tronienne
Charles Duffy spamcop.net> writes: > > On Wed, 20 Oct 2004 14:02:13 +, Dirk Tronienne wrote: > > How has the Makefile (...what else?) to be modified for LZO? Is "LDADD = > > -static -lssl -lcrypto -lzo" correct? > > If you're using static libfoo, etc. then you don't use "-lfoo"; instead > y