LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-14-2005, 01:34 AM   #1
libsys
LQ Newbie
 
Registered: Dec 2004
Posts: 19

Rep: Reputation: 0
OpenVPN build LZO not found


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?
 
Old 07-14-2005, 06:53 PM   #2
madluther
Member
 
Registered: Aug 2004
Distribution: LFS
Posts: 350

Rep: Reputation: 30
which version of lzo did you install , 1.08 or 2.01 ? openvpn requires 1.08 . Did you try to disable it with configure by parsing --disable-lzo ?
 
Old 07-14-2005, 09:07 PM   #3
libsys
LQ Newbie
 
Registered: Dec 2004
Posts: 19

Original Poster
Rep: Reputation: 0
Hmmm, yeah I did try installing a 1.08 binary, but still got the same error. I've tried the --disable-lzo setting and this worked - in what way will this affect my build of openvpn? I imagine lzo reduces the bandwidth or traffic that openvpn uses, is this the case?
 
Old 07-15-2005, 06:17 AM   #4
madluther
Member
 
Registered: Aug 2004
Distribution: LFS
Posts: 350

Rep: Reputation: 30
Without lzo the tunnel may use more bandwidth, but for it to be effective both ends of the tunnel have to support it. If you were able to compile lzo 2.01, the older version should build fine, look for it here, http://www.oberhumer.com/opensource/...wnload/LZO-v1/ . The binary version probably doesn't include the devel headers, libs and scripts that you need.
 
Old 07-15-2005, 08:54 AM   #5
libsys
LQ Newbie
 
Registered: Dec 2004
Posts: 19

Original Poster
Rep: Reputation: 0
Looks like you were right...I removed the rpm, installed 1.08 from source and openvpn configured and built without a hitch.

Many thanks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
gcc.real not found by apt-build sterrenkijker Debian 0 01-08-2005 03:01 PM
AIC-7901A U320 Dell Precision 670 Linux 2.4 Not Found - Build from Source? initself Linux - Hardware 2 12-21-2004 06:22 PM
OpenVPN Voyager_MP Linux - Networking 0 07-09-2004 04:32 AM
OpenVPN dunmarie Linux - Networking 1 03-31-2004 09:28 AM
OpenVPN dunmarie Linux - Software 1 10-13-2003 12:10 PM


All times are GMT -5. The time now is 04:10 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration