LIBTOOL is undefined Solution

Source: Internet
Author: User

LIBTOOL is undefined solution-Zhang likun's blog-My Sohu

LIBTOOL is undefined solution: Add it to your mobile phone to forward comments

This problem has always occurred recently. I finally know the root cause of the problem and write it down for convenience.

Libtool library used but 'libtool' is undefined
The usual way to define 'libtool' is to add 'ac _ prog_libtool'
To 'configure. AC' and run 'aclocal' and 'autoconf' again.
If 'ac _ prog_libtool' is in 'configure. AC', make sure
Its definition is in aclocal's search path.

Cause Analysis
Aclocal is a scanning program responsible for scanning and expanding all macro definitions in configure. ac,
The above cause is that the definition of the LIBTOOL macro cannot be found.

The reason is that aclocal and libtool are not installed in the same directory.

Aclocal is to search all. m4 files under the default installation directory/usr/share/aclocal to find the Defined Macro,

However, because multiple aclocal directories are installed, the aclocal directory may not exist. The actual directory is/usr/share/aclocal1.10,
This causes aclocal to fail to find the m4 file. The solution is to rename the aclocal1.10 folder to aclocal.

Or the specified path aclocal-I/usr/share/aclocal1.10-I/usr/share/libtool/m4 -- install

Or copy all the files under/usr/share/libtool/m4 to/usr/share/aclocal1.10.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.