configure: error: *** Please install the ‘libedit’ development package.
I am getting the below error while installing centos `16
configure: error: *** Please install the ‘libedit’ development package.
dnf --enablerepo=powertools install libedit-devel
Here is the example:
[root@localhost asterisk-16.20.0]# dnf –enablerepo=powertools install libedit-devel
CentOS Linux 8 – PowerTools 3.5 MB/s | 2.3 MB 00:00
Last metadata expiration check: 0:00:01 ago on Mon 23 Aug 2021 10:39:54 PM IST.
Dependencies resolved.
========================================================================================================================================================================
Package Architecture Version Repository Size
========================================================================================================================================================================
Installing:
libedit-devel x86_64 3.1-23.20170329cvs.el8 powertools 44 k
Transaction Summary
========================================================================================================================================================================
Install 1 Package
Total download size: 44 k
Installed size: 55 k
Is this ok [y/N]: y
Downloading Packages:
libedit-devel-3.1-23.20170329cvs.el8.x86_64.rpm 293 kB/s | 44 kB 00:00
————————————————————————————————————————————————————————
Total 71 kB/s | 44 kB 00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : libedit-devel-3.1-23.20170329cvs.el8.x86_64 1/1
Running scriptlet: libedit-devel-3.1-23.20170329cvs.el8.x86_64 1/1
Verifying : libedit-devel-3.1-23.20170329cvs.el8.x86_64 1/1
Installed:
libedit-devel-3.1-23.20170329cvs.el8.x86_64
Complete!