Table of contents

openvpn configure: error: route utility is required but missing

Linux Jun 17, 2020 Viewed 371 Comments 0

Issue

In Linux, download the openvpn source and configure, and run the commands blew.

$ wget https://swupdate.openvpn.org/community/releases/openvpn-2.4.9.tar.xz
$ tar xf openvpn-2.4.9.tar.xz
$ cd openvpn-2.4.9
$ ./configure --prefix=/opt/openvpn-2.4.9

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: route utility is required but missing

Solution

It needs to install net-tool.

  • Ubuntu/Debian

Download and install net-tool from https://pkgs.org/download/net-tools, or run the apt-get command.

sudo apt-get install net-tools
  • RHEL/CentOS

Download and install net-tool from https://pkgs.org/download/net-tools, or run the yum command.

sudo yum install net-tools
Updated Jun 27, 2020