Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

While using autoreconf & automake & libtool to build and install my application, I always get warning "libtool: warning: xxx.la has not been installed in /user/local/lib" and "libtool: warning: remember to run 'libtool --finish /usr/local/lib". I have tried many methods, e.g., cleaning the project, and reconfigure with make clean, but still can't get rid of the warning. Here is what I tried:

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

Here is 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 emitted, and how do I get rid of them?

like image 722
Jes Avatar asked Sep 23 '15 14:09

Jes


1 Answers

This may be a little late, but I was having the same problem. It went away after I did a make clean followed by regenerating my "configure" script with autoreconf. After that doing the standard ./configure --prefix=... followed by make and make install no longer showed the error. Good luck!

like image 188
Jvinniec Avatar answered Nov 19 '22 06:11

Jvinniec