Hi Akim, Thanks for the report.
* Akim Demaille wrote on Tue, Oct 24, 2006 at 11:23:07AM CEST: > > I have not investigated the following, so for a start I would just > like to know whether the following is expected or not (doesn't > seem to be): Yeah, looks like a missed optimization that can be done if --disable-shared. How did you configure, what's ./libtool --features ./libtool --config ? I think we can't really test ldconfig at configure time because it may be accessible to root only (and thus only available at make install time). I'm not sure whether we can take cross-compilation as a reason for not running it though. Another problem is that, at `libtool --finish' time, we cannot really know if the libraries we just installed (we don't even know which they were!) were static-only or not; anyway running ldconfig usually doesn't hurt. > [EMAIL PROTECTED] ~/src/urbi/kernel1 $ sudo make install -C _build/aibo/src > PATH="$PATH:/sbin" ldconfig -n /usr/local/gostai/kernel/mipsel-linux/aibo > ../libtool: line 1: ldconfig: command not found > > As you can see ldconfig is run although the library is not > dynamic (and besides, it's cross-compiled, so I'm not sure > it makes sense anyway, but how could it know it?). And it > doesn't seem to catch the failure, which is a bug I guess. > > I'm not sure my situation is really valid, as I already started > to discuss with Ralf in the following unfinished thread (lack > of time...). > > http://lists.gnu.org/archive/html/libtool/2006-09/msg00109.html Yeah, installing convenience archives is not so clean. But people do uglier things all the time... Cheers, Ralf _______________________________________________ Bug-libtool mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-libtool
