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] compile statically with LZO and SSL support... Dirk Tronienne
- [Openvpn-devel] Re: compile statically with LZO and SS... Charles Duffy
- [Openvpn-devel] Re: compile statically with LZO an... Dirk Tronienne
- [Openvpn-devel] Re: compile statically with LZ... Charles Duffy
- [Openvpn-devel] Re: compile statically wit... Dirk Tronienne