Warning – this build will not support IPVS with IPv6

Project scenario:

In Linux system, use the command to decompress and install the keepalived source package.


Problem Description:

To install the keepalived source code package, you have run the following command:

tar -xzvf keepalived-2.2.2.tar.gz
cd keepalived-2.2.2
./configure --prefix=/usr/local/keepalived
yum -y install gcc
./configure --prefix=/usr/local/keepalived
yum -y install openssl openssl-devel
./configure --prefix=/usr/local/keepalived

The third command run result error, solved (solution), the fifth command run result error, solved (solution), in the seventh line re run the command error, the warning message is:

*** WARNING - this build will not support IPVS with IPv6. Please install libnl/libnl-3 dev libraries to support IPv6 with IPVS.

Cause analysis:

The main reason for this error is the lack of libnl core library. Just install libnl and libnl devel.


Solution:

Install libnl and libnl devel:

yum -y install libnl libnl-devel

Rerun the command ./configure -- prefix =/usr/local/kept , the command runs normally, and the problem is solved.

If there are other errors, please refer to:
configure: error: no acceptable C compiler found in $path error resolution
configure: error:!! OpenSSL is not properly installed on your system.!! Error resolution

Read More: