[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
libtool: install: warning: remember to run `libtool --finish /usr/local/
From: |
Perrog |
Subject: |
libtool: install: warning: remember to run `libtool --finish /usr/local/expat/2.0.1/lib' |
Date: |
Fri, 8 Dec 2006 07:41:20 +0100 |
Hi!
What shall I do, when I get this message? This warning happened when I
first configured a library (expat) to install in
/usr/local/expat/2.0.1, but then changed my mind and installed it in
/usr/local via make. Like this:
$ cd /src/expat
$ ./configure --prefix=/usr/local/expat/2.0.1
$ make
$ sudo make install prefix=/usr/local
Obviously, "make install prefix=/usr/local" forgets to update
libexpat.la. In fact, when I read the "make install" console, it
reports at one line:
libtool: install: warning: remember to run `libtool --finish
/usr/local/expat/2.0.1/lib'
But before I noticed this message I built another library (Apache's
apr-util), and got the warning:
$ cd /src/apr/apr-util
$ ./configure ... --with-expat=/usr/local ...
$ make
...
libtool: link: warning: library `/usr/local/lib/libexpat.la' was moved
so I went back to /src/expat and run that finishing command:
$ cd /src/expat
$ libtool --finish /usr/local/expat/2.0.1/lib
$ sudo make install prefix=/usr/local
Without any results... Building the other library (apr-util) still reported:
libtool: link: warning: library `/usr/local/lib/libexpat.la' was moved
so I decided to clean and reconfigure expat
$ cd expat
$ make clean
$ ./configure
$ make
$ sudo make install
and that was the only way I could fix the installation path. My second
library (apr-util) builds without any warning.
Even if I manage to fix it myself by rebuilding libexpat from scratch,
I'm intrested to hear what I can achieve using libtool
--finish command. How can I update those darn .la files without using
my favorite text-editor?
Thanks for any insight!
Roger
$ libtool --version
ltmain.sh (GNU libtool) 1.5.23a (1.1220.2.411 2006/08/25 15:08:31)
$ automake --version
automake (GNU automake) 1.10a
$ make --version
GNU Make 3.80
- libtool: install: warning: remember to run `libtool --finish /usr/local/expat/2.0.1/lib',
Perrog <=