[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
1.5.22 running ldconfig for unknown reason
From: |
Akim Demaille |
Subject: |
1.5.22 running ldconfig for unknown reason |
Date: |
Tue, 24 Oct 2006 11:23:07 +0200 |
VERSION=1.5.22
TIMESTAMP=" (1.1220.2.365 2005/12/18 22:14:06)"
Hi,
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):
address@hidden ~/src/urbi/kernel1 $ sudo make install -C _build/aibo/src
Password:
make install-am
sed -e 's/libdir=.*/libdir=/' \
-e 's/installed=.*/installed=no/' \
.libs/libkernel.lai >libkernel.lai.new
mv -f libkernel.lai.new .libs/libkernel.lai
test -z "/usr/local/gostai/kernel/include/parser/bison" ||
/Users/akim/src/urbi/kernel1/build-aux/install-sh -d
"/usr/local/gostai/kernel/include/parser/bison"
/bin/sh /Users/akim/src/urbi/kernel1/build-aux/install-sh-c -c -m 644
-C '../../../src/parser/bison/flex-lexer.hh'
'/usr/local/gostai/kernel/include/parser/bison/flex-lexer.hh'
test -z "" || /Users/akim/src/urbi/kernel1/build-aux/install-sh -d ""
test -z "/usr/local/gostai/kernel/mipsel-linux/aibo" ||
/Users/akim/src/urbi/kernel1/build-aux/install-sh -d
"/usr/local/gostai/kernel/mipsel-linux/aibo"
/bin/sh ../libtool --mode=install /opt/local/bin/ginstall -c
'libkernel.la' '/usr/local/gostai/kernel/mipsel-linux/aibo/libkernel.la'
/opt/local/bin/ginstall -c .libs/libkernel.lai
/usr/local/gostai/kernel/mipsel-linux/aibo/libkernel.la
/opt/local/bin/ginstall -c .libs/libkernel.a
/usr/local/gostai/kernel/mipsel-linux/aibo/libkernel.a
chmod 644 /usr/local/gostai/kernel/mipsel-linux/aibo/libkernel.a
mipsel-linux-ranlib /usr/local/gostai/kernel/mipsel-linux/aibo/libkernel.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/gostai/kernel/mipsel-linux/aibo
../libtool: line 1: ldconfig: command not found
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/gostai/kernel/mipsel-linux/aibo
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator run these commands:
PATH="$PATH:/sbin" ldconfig -n /usr/local/gostai/kernel/mipsel-linux/aibo
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
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
- 1.5.22 running ldconfig for unknown reason,
Akim Demaille <=