Can not exec “libtoolize”/”aclocal”

Sometimes in building projects, we may meet an error seems as follow:

Can't exec "libtoolize": No such file or directory ....

make: libtoolize: Command not found

Libtool provides a standard way to add libtool support to your package.

A solution in RHEL/CentOS is

sudo yum install libtool -y

If you are using Fedora, you can replace “yum” using “dnf”.

If you meet “aclocal”, command not found, it is because of your missing automake

One solution is install it using command:

sudo yum install automake -y

See also:

How to find the package by name