Libtool installation warning: xxx.la has not been installed in / user / local / lib

When using autoreconf and automake and libtool to build and install my application, the warning message " libtool: warning: xxx.la was not installed in / user / local / lib " and " libtool: warning: do not forget to run 'libtool --finish / usr / local / lib . I tried many methods, for example, cleaning up a project and migrating with cleaning, but still can not get rid of the warning. Here is what I tried:

 ./configure make clean make make install prefix=~/Software/ 

Here is the part of my configure.ac that relates to automake and libtool .

 AM_INIT_AUTOMAKE([subdir-objects -Wall -Werror]) LT_INIT([dlopen]) 

Why are these warnings omitted and how to get rid of them?

+6
source share
1 answer

It may be a little late, but I had the same problem. It left after I did make clean and then regenerated my β€œconfigure” script with autoreconf . After that, running the standard ./configure --prefix=... followed by make and make install no longer showed an error. Good luck

+2
source

All Articles