Configure error lzo enabled but missing openvpn

IssueDownload the openvpn source code, try to configure it and run the commands blew.$ wget https://swupdate.openvpn.org/community/releases/openvpn-2.4.9.tar.gz$ tar xf openvpn-2.4.9.tar.gz$ cd open

Issue

Download the openvpn source code, try to configure it and run the commands blew.

$ wget https://swupdate.openvpn.org/community/releases/openvpn-2.4.9.tar.gz
$ tar xf openvpn-2.4.9.tar.gz
$ cd openvpn-2.4.9
$ ./configure

But the following error occurs.

checking for lzo1x_1_15_compress in -llzo2... no
checking for lzo1x_1_15_compress in -llzo... no
checking for LZ4... no
checking lz4.h usability... no
checking lz4.h presence... no
checking for lz4.h... no
		usable LZ4 library or header not found, using version in src/compat/compat-lz4.*
checking git checkout... no
configure: error: lzo enabled but missing

Solution

It needs to install lzo.

1. Install from source

Mac/Linux OS can install from the source code, go to http://www.oberhumer.com/opensource/lzo/ to download the lzo source code.

$ wget http://www.oberhumer.com/opensource/lzo/download/lzo-2.10.tar.gz
$ tar xf lzo-2.10.tar.gz
$ cd lzo-2.10
$ ./configure
$ make
$ sudo make install

2. Install with command

  • Ubuntu/Debian

In the webpage https://pkgs.org/download/liblzo2-dev, download liblzo2-dev or run

sudo apt-get install liblzo2-dev
  • RHEL/CentOS

In the webpage https://pkgs.org/search/?q=lzo-devel , download lzo-devel or run

sudo yum install lzo-devel

Содержание

  1. Dieter Vansteenwegen (ON4DD)
  2. Manually Installing OpenVPN 2.4.7 On Ubuntu 16.04 Xenial
  3. Install OpenVPN 2.4.7
  4. Install OpenSSL
  5. Try Installing OpenVPN
  6. Solved OpenVPN-2.5.7 configure: error: lzo enabled but missing
  7. Alain De Vos
  8. covacat
  9. Alain De Vos
  10. FreshPorts — security/openvpn: Secure IP/Ethernet tunnel daemon
  11. _martin
  12. _martin
  13. OpenVPN Support Forum
  14. Noob trying to set up VPN ubuntu 10.10
  15. Noob trying to set up VPN ubuntu 10.10
  16. Yizhuan Yu
  17. Thursday, March 17, 2016
  18. Build OpenVPN on Ubuntu 14.04 from source code
  19. The try-and-fail building process
  20. The shortcut of building OpenVPN from source code on Ubuntu 14.04

Dieter Vansteenwegen (ON4DD)

The company I have been working for for a couple of months has an OpenVPN server running. Recently I wanted to install the client software on my Windows 7 desktop and my Linux laptop.

Our IT guy kindly supplied me with a executable to install and configure the client under Windows and a config file and certificates for Linux.

Windows 7 worked immediately but under Linux I had to do some extra steps to get it working properly. I’ll document them here for future reference and maybe other people running in to the same issues.

I had previously installed OpenVPN under linux and hoped the config file would be all I needed. When running

I got the error message:

Options error: Unrecognized option or missing parameter(s) in configfile.ovpn:11: verify-x509-name (2.2.1)
Use –help for more information.

Some digging around showed the “verify-x509-name” command was implemented starting at OpenVPN version 2.3. Using

and the default repositories in Ubuntu the installed version was 2.2.1

To get the latest version, I uninstalled the current installed version using

then downloaded and untarred the latest version from the community downloads (at this time 2.3.6)

Installing should work this way:

./config && sudo make && sudo make install

but I ran into dependency problems. Some error messages came up regarding the LZO package.

configure: error: lzo enabled but missing

I found this page by Droidzone describing the dependencies and some useful information on how to find missing dependencies during future installs. Worth a read.

sudo apt-get install libssl-dev liblzo2-dev libpam0g-dev

will install the necessary dependencies. After this the installation went fine:

OpenVPN 2.3.2 x86_64-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [eurephia] [MH] [IPv6] built on Dec 24 2014

Источник

Manually Installing OpenVPN 2.4.7 On Ubuntu 16.04 Xenial

Why I am still on 16.04 when ubuntu has already launch 19.04 Disco dingo? Answer is I have 16.04 with all the necessary tools. Anyway while working on hackthebox my vpn started dropping the connection. So, I decided to troubleshoot the problem myself before changing the configuration. After googling for hours and trying every possible method written I couldn’t find a solution to my OpenVPN issue. Finally I decided to follow htb alternate tcp connection. And from here begins the journey of openvpn and openssl.

Possible Solutions I tried:

  1. Tried restarting virtual box.
  2. Tried regenerating my opvn file.
  3. Tried updating my timezone.
  4. Tried resetting my timezone in htb profile and again regenerating ovpn file.
  5. Tried closing all connections and again connecting.
  6. Tried reading almost all threads related to similar issue.

But the above two issues kept on coming.
Finally I decided to change openvpn configuration from UDP to TCP according to official htb website.

Alternate TCP Connection
By default, our network uses UDP port 1337. If this port is blocked at your location, you can try switching to TCP 443 by editing your .ovpn file.

So after changing configuration the moment I ran:

Output:
Options error: Unrecognized option or missing parameter(s) in vpnfile.ovpn:18: tls-crypt

Checked the version:

Install OpenVPN 2.4.7

Output:
checking for a BSD-compatible install… /usr/bin/install -c
checking whether build environment is sane… ye
schecking for a thread-safe mkdir -p… /bin/mkdir
.
.
[truncated output]
.
checking for SSL_CTX_new… no
configure: error: openssl check failed

Install OpenSSL

Note:
-openssl may or may not be needed. Since I uninstalled openssl to install latest version. Steps are mentioned below.
— /usr/local/bin is for locally compiled package and /usr/bin is for trivial binaries not needed in single user mode

Try Installing OpenVPN

For the error “configure: error: ssl is required but missing”

For the error “configure: error: lzo enabled but missing”

For the error “configure: error: libpam required but missing “

Note:
-Sudo is not used as the vm was running as root. Also we can specify manually where to install ssl libraries,etc. It is just a general workaround.

Источник

Solved OpenVPN-2.5.7 configure: error: lzo enabled but missing

Hi i am trying to upgrade my OpenVPN 2.5.3 to 2.5.7 version.

I followed below the instructions:

But at the ./configure section i got

I have installed below packages but no luck.
Any help would be appreciated at this point.

Alain De Vos

i already installed lzo2
mentioned above

/openvpn-2.5.7 # pkg install lzo2
Updating FreeBSD repository catalogue.
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity. done (0 conflicting)
The most recent versions of packages are already installed

/openvpn-2.5.7 # pkg info lzo2
lzo2-2.10_1
Name : lzo2
Version : 2.10_1

covacat

Reactions: Alain De Vos and zirias@

Alain De Vos

FreshPorts — security/openvpn: Secure IP/Ethernet tunnel daemon

_martin

Reactions: alfa

Here is solution i find from

_martin

To be honest I think that just butchers the FreeBSD installation and puts unnecessary symlinks across the FS. With that configure script you can tell it where the libs are, it will use is that way. You are also risking an issue if somebody/something removes those symlinks.

As a side note you can use ports to build it too as it was mentioned above. If you for some reason prefer different version than what is offered by ports you can use ports-mgmt/portdowngrade to select previous versions.

Источник

OpenVPN Support Forum

Community Support Forum

Noob trying to set up VPN ubuntu 10.10

Noob trying to set up VPN ubuntu 10.10

Post by JACKRABBit » Fri Mar 15, 2013 9:38 pm

I am trying to set up openvpn running on a VMware Workstation virtual machine using Ubunutu 10.10. I have tried to install openvpn using two different methods but both have not seemed to quite work for me yet.

The first way opening terminal and using sudo apt-get install oepnvpn with the following results:

$ sudo apt-get install openvpn
Reading package lists. Done
Building dependency tree
Reading state information. Done
E: Unable to locate package openvpn
linux@ubuntu:

After that didn’t work I went to the openvpn website and downloaded openvpn-2.3.0.tar.gz. from there I was able to extract then cd over to openvpn-2.3.0. From here I attempted to use ./configure && make && make install and received the following:

checking for ssl_init in -lpolarssl. no
checking for aes_crypt_cbc in -lpolarssl. no
checking for lzo1x_1_15_compress in -llzo2. no
checking for lzo1x_1_15_compress in -llzo. no
checking for PKCS11_HELPER. no
checking git checkout. no
configure: error: ssl is required but missing
linux@ubuntu:

From what I googled I believe this is an openssl problem so I went back into the terminal and tried

$ sudo apt-get install openssl
Reading package lists. Done
Building dependency tree
Reading state information. Done
openssl is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
linux@ubuntu:

So it seems that this is also up to date, I found two other options that said to go to system>admin>Synaptic Package Manager and try and hit reload. Also I tried to go to settings>repositories>download from>other>select best server but after searching it returns with «No suitable download server was found. Please check your internet connection.»

I’m unsure what to do after this point if someone would be kind enough to please advise how I would be able to get this set up properly that would be great!

Источник

Yizhuan Yu

Thursday, March 17, 2016

Build OpenVPN on Ubuntu 14.04 from source code

Building/compiling OpenVPN from source code is not straight forward as you might think. The main problems are dependency issues.

I noted my building process here with errors and solutions. My Ubuntu is a new installation. Many basic libraries are not installed.

The try-and-fail building process

$ cat /etc/issue
Ubuntu 14.04.4 LTS n l

$ sudo apt-get update

$ sudo apt-get install autoconf

$ git clone https://github.com/OpenVPN/openvpn.git

automake: project, to avoid future incompatibilities.
src/plugins/auth-pam/Makefile.am:16: error: Libtool library used but ‘LIBTOOL’ is undefined
src/plugins/auth-pam/Makefile.am:16: The usual way to define ‘LIBTOOL’ is to add ‘LT_INIT’
src/plugins/auth-pam/Makefile.am:16: to ‘configure.ac’ and run ‘aclocal’ and ‘autoconf’ again.
src/plugins/auth-pam/Makefile.am:16: If ‘LT_INIT’ is in ‘configure.ac’, make sure
src/plugins/auth-pam/Makefile.am:16: its definition is in aclocal’s search path.
src/plugins/down-root/Makefile.am:15: error: Libtool library used but ‘LIBTOOL’ is undefined
src/plugins/down-root/Makefile.am:15: The usual way to define ‘LIBTOOL’ is to add ‘LT_INIT’
src/plugins/down-root/Makefile.am:15: to ‘configure.ac’ and run ‘aclocal’ and ‘autoconf’ again.
src/plugins/down-root/Makefile.am:15: If ‘LT_INIT’ is in ‘configure.ac’, make sure
src/plugins/down-root/Makefile.am:15: its definition is in aclocal’s search path.
autoreconf: automake failed with exit status: 1

$ sudo apt-get install libtool

$ autoreconf -vi
autoreconf: Entering directory `.’
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize —copy
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `.’.
libtoolize: copying file `./ltmain.sh’
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4′.
libtoolize: copying file `m4/libtool.m4′
libtoolize: copying file `m4/ltoptions.m4′
libtoolize: copying file `m4/ltsugar.m4′
libtoolize: copying file `m4/ltversion.m4′
libtoolize: copying file `m4/lt

obsolete.m4′
autoreconf: running: /usr/bin/autoconf
autoreconf: running: /usr/bin/autoheader
autoreconf: running: automake —add-missing —copy —no-force
src/openvpnserv/Makefile.am:32: warning: source file ‘$(top_srcdir)/src/openvpn/block_dns.c’ is in a subdirectory,
src/openvpnserv/Makefile.am:32: but option ‘subdir-objects’ is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the ‘subdir-objects’
automake: automake option hasn’t been enabled. For now, the corresponding output
automake: object file(s) will be placed in the top-level directory. However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using ‘subdir-objects’ option throughout your
automake: project, to avoid future incompatibilities.
autoreconf: Leaving directory `.’

$ ./configure
.
configure: error: openssl check failed

$ openssl version
OpenSSL 1.0.1f 6 Jan 2014

$ sudo apt-get install libssl-dev

checking for LZ4_compress in -llz4. no
LZ4 library not found.
checking lz4.h usability. no
checking lz4.h presence. no
checking for lz4.h. no
LZ4 headers not found.
LZ4 library or header not found, using version in src/compat/compat-lz4.*
checking git checkout. yes
configure: error: lzo enabled but missing

$ sudo apt-get install liblz4-dev

checking for lzo1x_1_15_compress in -llzo2. no
checking for lzo1x_1_15_compress in -llzo. no
configure: checking for LZ4 Library and Header files.
checking for LZ4_compress in -llz4. yes
checking lz4.h usability. yes
checking lz4.h presence. yes
checking for lz4.h. yes
checking git checkout. yes
configure: error: lzo enabled but missing

$ sudo apt-get install liblz4-tool
Reading package lists. Done
Building dependency tree
Reading state information. Done
The following NEW packages will be installed
liblz4-tool
0 to upgrade, 1 to newly install, 0 to remove and 54 not to upgrade.
Need to get 32.9 kB of archives.
After this operation, 170 kB of additional disk space will be used.
Get:1 http://gb.archive.ubuntu.com/ubuntu/ trusty/universe liblz4-tool amd64 0.0

r114-2ubuntu1 [32.9 kB]
Fetched 32.9 kB in 0s (102 kB/s)
Selecting previously unselected package liblz4-tool.
(Reading database . 102534 files and directories currently installed.)
Preparing to unpack . /liblz4-tool_0.0

r114-2ubuntu1_amd64.deb .
Unpacking liblz4-tool (0.0

r114-2ubuntu1) .
Processing triggers for man-db (2.6.7.1-1ubuntu1) .
Setting up liblz4-tool (0.0

checking for EVP_aes_256_gcm. yes
checking for lzo1x_1_15_compress in -llzo2. no
checking for lzo1x_1_15_compress in -llzo. no
configure: checking for LZ4 Library and Header files.
checking for LZ4_compress in -llz4. yes
checking lz4.h usability. yes
checking lz4.h presence. yes
checking for lz4.h. yes
checking git checkout. yes
configure: error: lzo enabled but missing

$ sudo apt-get install liblzo2-dev libpam0g-dev

Build is successful this time!

The shortcut of building OpenVPN from source code on Ubuntu 14.04

Here is the short list of commands for solving the dependency issues:

$ sudo apt-get update

$ sudo apt-get install autoconf

$ sudo apt-get install libtool

$ sudo apt-get install libssl-dev liblz4-dev liblz4-tool liblzo2-dev libpam0g-dev

Источник

Hi i am trying to upgrade my OpenVPN 2.5.3 to 2.5.7 version.

I followed below the instructions:

Code:

To Build and Install,

    tar -zxf openvpn-<version>.tar.gz
    cd openvpn-<version>
    ./configure
    make
    make install

But at the ./configure section i got

Code:

configure: error: lzo enabled but missing

I have installed below packages but no luck.
Any help would be appreciated at this point.

Code:

root@alfa:~/openvpn-2.5.7 # pkg search lzo
lzo2-2.10_1                    Portable speedy, lossless data compression library
lzop-1.04                      Fast file compressor similar to gzip, using the LZO library
p5-Compress-LZO-1.09           Interface to the LZO compression library
p5-IO-Compress-Lzop-2.101      Write lzop files / buffers
p5-POE-Filter-LZO-1.72         POE filter wrapped around Compress::LZO
py38-localzone-0.9.8           Library for managing DNS zones
py38-python-lzo-1.12           Python bindings for the LZO data compression library

Code:

root@alfa:~/openvpn-2.5.7 # ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... x86_64-unknown-freebsd11.4
checking host system type... x86_64-unknown-freebsd11.4
checking whether make supports the include directive... yes (GNU style)
checking for gcc... no
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether cc understands -c and -o together... yes
checking dependency style of cc... gcc3
checking how to run the C preprocessor... cc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking how to run the C preprocessor... cc -E
checking whether ln -s works... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking whether make sets $(MAKE)... (cached) yes
checking for ifconfig... /sbin/ifconfig
checking for route... /sbin/route
checking for ip... no
checking for systemd-ask-password... no
checking for netstat... netstat
checking for git... no
checking for rst2man... no
checking for rst2man.py... no
checking for rst2html... no
checking for rst2html.py... no
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) interface... BSD nm
checking the maximum length of command line arguments... 196608
checking how to convert x86_64-unknown-freebsd11.4 file names to x86_64-unknown-freebsd11.4 format... func_convert_file_noop
checking how to convert x86_64-unknown-freebsd11.4 file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %sn
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from cc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd11.4 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for windres... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for working volatile... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking for int8_t... yes
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking return type of signal handlers... void
checking for ISO C 1999 vararg macro support... yes
checking for GNU GCC vararg macro support... yes
checking for socklen_t... yes
checking for C compiler empty array size... 0
checking size of unsigned int... 4
checking size of unsigned long... 8
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking io.h usability... no
checking io.h presence... no
checking for io.h... no
checking direct.h usability... no
checking direct.h presence... no
checking for direct.h... no
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking for sys/types.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for unistd.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/in_systm.h usability... yes
checking netinet/in_systm.h presence... yes
checking for netinet/in_systm.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking winsock2.h usability... no
checking winsock2.h presence... no
checking for winsock2.h... no
checking ws2tcpip.h usability... no
checking ws2tcpip.h presence... no
checking for ws2tcpip.h... no
checking versionhelpers.h usability... no
checking versionhelpers.h presence... no
checking for versionhelpers.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking for sys/stat.h... (cached) yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking for unistd.h... (cached) yes
checking for signal.h... (cached) yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking stropts.h usability... no
checking stropts.h presence... no
checking for stropts.h... no
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking sys/sockio.h usability... yes
checking sys/sockio.h presence... yes
checking for sys/sockio.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking linux/sockios.h usability... no
checking linux/sockios.h presence... no
checking for linux/sockios.h... no
checking linux/types.h usability... no
checking linux/types.h presence... no
checking for linux/types.h... no
checking linux/errqueue.h usability... no
checking linux/errqueue.h presence... no
checking for linux/errqueue.h... no
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking sys/epoll.h usability... no
checking sys/epoll.h presence... no
checking for sys/epoll.h... no
checking err.h usability... yes
checking err.h presence... yes
checking for err.h... yes
checking for net/if.h... yes
checking for netinet/ip.h... yes
checking for resolv.h... yes
checking for sys/un.h... yes
checking for net/if_utun.h... no
checking for sys/kern_control.h... no
checking for in_addr_t... yes
checking for in_port_t... yes
checking for struct iphdr... no
checking for struct msghdr... yes
checking for struct cmsghdr... yes
checking for struct in_pktinfo... no
checking for sa_family_t... yes
checking for struct in_pktinfo.ipi_spec_dst... no
checking for struct sockaddr_in6... yes
checking whether SO_MARK is declared... no
configure: checking anonymous union support...
yes
checking linker supports --wrap... yes
checking whether SIGHUP is declared... yes
checking whether SIGINT is declared... yes
checking whether SIGUSR1 is declared... yes
checking whether SIGUSR2 is declared... yes
checking whether SIGTERM is declared... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for daemon... yes
checking for chroot... yes
checking for getpwnam... yes
checking for setuid... yes
checking for nice... yes
checking for system... yes
checking for getpid... yes
checking for dup... yes
checking for dup2... yes
checking for getpass... yes
checking for syslog... yes
checking for openlog... yes
checking for mlockall... yes
checking for getgrnam... yes
checking for setgid... yes
checking for setgroups... yes
checking for stat... yes
checking for flock... yes
checking for readv... yes
checking for writev... yes
checking for time... yes
checking for gettimeofday... yes
checking for ctime... yes
checking for memset... yes
checking for vsnprintf... yes
checking for strdup... yes
checking for setsid... yes
checking for chdir... yes
checking for putenv... yes
checking for getpeername... yes
checking for unlink... yes
checking for chsize... no
checking for ftruncate... yes
checking for execve... yes
checking for getpeereid... yes
checking for umask... yes
checking for basename... yes
checking for dirname... yes
checking for access... yes
checking for epoll_create... no
checking for strsep... yes
checking for dlopen in -ldl... yes
checking for inet_ntoa in -lnsl... no
checking for socket in -lsocket... no
checking for gethostbyname in -lresolv... no
checking for sendmsg... yes
checking for recvmsg... yes
checking for inet_ntop... yes
checking for inet_pton... yes
checking for socket... yes
checking for recv... yes
checking for recvfrom... yes
checking for send... yes
checking for sendto... yes
checking for listen... yes
checking for accept... yes
checking for connect... yes
checking for bind... yes
checking for select... yes
checking for gethostbyname... yes
checking for inet_ntoa... yes
checking for setsockopt... yes
checking for getsockopt... yes
checking for getsockname... yes
checking for poll... yes
checking for library containing __res_init... none required
checking net/if_tun.h usability... yes
checking net/if_tun.h presence... yes
checking for net/if_tun.h... yes
checking net/tun/if_tun.h usability... no
checking net/tun/if_tun.h presence... no
checking for net/tun/if_tun.h... no
checking linux/if_tun.h usability... no
checking linux/if_tun.h presence... no
checking for linux/if_tun.h... no
checking tap-windows.h usability... no
checking tap-windows.h presence... no
checking for tap-windows.h... no
checking whether TUNSETPERSIST is declared... no
checking for setcon in -lselinux... no
checking for pam_start in -lpam... yes
checking for PKCS11_HELPER... yes
checking for OPENSSL... yes
checking for SSL_CTX_new... yes
checking for EVP_CIPHER_CTX_set_key_length... yes
checking for ENGINE_load_builtin_engines... yes
checking for ENGINE_register_all_complete... yes
checking for EVP_aes_256_gcm... yes
checking for HMAC_CTX_new... yes
checking for HMAC_CTX_free... yes
checking for HMAC_CTX_reset... yes
checking for EVP_MD_CTX_new... yes
checking for EVP_MD_CTX_free... yes
checking for EVP_MD_CTX_reset... yes
checking for EVP_CIPHER_CTX_reset... yes
checking for OpenSSL_version... yes
checking for SSL_CTX_get_default_passwd_cb... yes
checking for SSL_CTX_get_default_passwd_cb_userdata... yes
checking for SSL_CTX_set1_groups... no
checking for SSL_CTX_set_security_level... yes
checking for X509_get0_notBefore... yes
checking for X509_get0_notAfter... yes
checking for X509_get0_pubkey... yes
checking for X509_STORE_get0_objects... yes
checking for X509_OBJECT_free... yes
checking for X509_OBJECT_get_type... yes
checking for EVP_PKEY_get0_RSA... yes
checking for EVP_PKEY_get0_DSA... yes
checking for EVP_PKEY_get0_EC_KEY... yes
checking for RSA_set_flags... yes
checking for RSA_bits... yes
checking for RSA_get0_key... yes
checking for RSA_set0_key... yes
checking for DSA_get0_pqg... yes
checking for DSA_bits... yes
checking for RSA_meth_new... yes
checking for RSA_meth_free... yes
checking for RSA_meth_set_pub_enc... yes
checking for RSA_meth_set_pub_dec... yes
checking for RSA_meth_set_priv_enc... yes
checking for RSA_meth_set_priv_dec... yes
checking for RSA_meth_set_init... yes
checking for RSA_meth_set_sign... yes
checking for RSA_meth_set_finish... yes
checking for RSA_meth_set0_app_data... yes
checking for RSA_meth_get0_app_data... yes
checking for EC_GROUP_order_bits... yes
checking for lzo1x_1_15_compress in -llzo2... no
checking for lzo1x_1_15_compress in -llzo... no
checking for LZ4... yes
checking for LZ4_compress_default in -llz4... yes
checking for LZ4_decompress_safe in -llz4... yes
checking git checkout... no
configure: error: lzo enabled but missing

Hello,

I am trying to set up openvpn running on a VMware Workstation virtual machine using Ubunutu 10.10. I have tried to install openvpn using two different methods but both have not seemed to quite work for me yet.

The first way opening terminal and using sudo apt-get install oepnvpn with the following results:

linux@ubuntu:~$ sudo apt-get install openvpn
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package openvpn
linux@ubuntu:~$

After that didn’t work I went to the openvpn website and downloaded openvpn-2.3.0.tar.gz. from there I was able to extract then cd over to openvpn-2.3.0. From here I attempted to use ./configure && make && make install and received the following:

checking for ssl_init in -lpolarssl… no
checking for aes_crypt_cbc in -lpolarssl… no
checking for lzo1x_1_15_compress in -llzo2… no
checking for lzo1x_1_15_compress in -llzo… no
checking for PKCS11_HELPER… no
checking git checkout… no
configure: error: ssl is required but missing
linux@ubuntu:~/Downloads/openvpn-2.3.0$

From what I googled I believe this is an openssl problem so I went back into the terminal and tried

linux@ubuntu:~$ sudo apt-get install openssl
Reading package lists… Done
Building dependency tree
Reading state information… Done
openssl is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
linux@ubuntu:~$

So it seems that this is also up to date, I found two other options that said to go to system>admin>Synaptic Package Manager and try and hit reload. Also I tried to go to settings>repositories>download from>other>select best server but after searching it returns with «No suitable download server was found. Please check your internet connection.»

I’m unsure what to do after this point if someone would be kind enough to please advise how I would be able to get this set up properly that would be great!

Thanks for your time.

The company I have been working for for a couple of months has an OpenVPN server running. Recently I wanted to install the client software on my Windows 7 desktop and my Linux laptop.

Our IT guy kindly supplied me with a executable to install and configure the client under Windows and a config file and certificates for Linux.

Windows 7 worked immediately but under Linux I had to do some extra steps to get it working properly. I’ll document them here for future reference and maybe other people running in to the same issues.

I had previously installed OpenVPN under linux and hoped the config file would be all I needed. When running

openvpn –config configfile.ovpn

I got the error message:

Options error: Unrecognized option or missing  parameter(s) in configfile.ovpn:11: verify-x509-name (2.2.1)
Use –help for more information.

Some digging around showed the “verify-x509-name” command was implemented starting at OpenVPN version 2.3. Using

apt-get install openvpn

and the default repositories in Ubuntu the installed version was 2.2.1

To get the latest version, I uninstalled the current installed version using

apt-get purge openvpn

then downloaded and untarred the latest version from the community downloads (at this time 2.3.6)

wget http://swupdate.openvpn.org/community/releases/openvpn-2.3.6.tar.gz

tar -zxvf ./openvpn-2.3.6.tar.gz

Installing should work this way:

cd ./openvpn-2.3.6

./config && sudo make && sudo make install

but I ran into dependency problems. Some error messages came up regarding the LZO package.

configure: error: lzo enabled but missing

I found this page by Droidzone describing the dependencies and some useful information on how to find missing dependencies during future installs. Worth a read.

In short:

sudo apt-get install libssl-dev liblzo2-dev libpam0g-dev

will install the necessary dependencies. After this the installation went fine:

openvpn –version

OpenVPN 2.3.2 x86_64-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [eurephia] [MH] [IPv6] built on Dec 24 2014

Понравилась статья? Поделить с друзьями:
  • Configure error libxml2 library not found zabbix
  • Connection refused код ошибки
  • Connection refused socket error 10061 connection refused socket error 10061
  • Connection refused no further information minecraft как исправить
  • Connection refused error python