From: Dirk Tronienne Message-ID: References: Mime-Version: 1.0 Subject: [Openvpn-devel] Re: compile statically with LZO and SSL support? Sender: openvpn-devel-admin@lists.sourceforge.net Errors-To: openvpn-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Oct 21 11:35:23 2004 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: openvpn-devel@lists.sourceforge.net 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 can access getservbyname() at runtime. > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > Thanks a lot! It worked, I got my openvpn binary with lzo and openssl up and running. I added the following in the Makefile: "LDADD= -static /usr/lib/liblzo.a /usr/lib/libcrypto.a \ /usr/lib/libssl.a /usr/lib/libdl.a /usr/lib/libc.a" > Instead of adding /usr/lib/liblzo.a, you should *replace* the -llzo with That "-llzo" was somewhere else in the Makefile. Again thank you very much for your help! Dirk