ldconfig problems
Mark Kettenis
kettenis@wins.uva.nl
Sun Jul 9 17:05:00 GMT 2000
From: Ulrich Drepper <drepper@redhat.com>
Date: 09 Jul 2000 14:35:09 -0700
Roland McGrath <roland@frob.com> writes:
> Conversely, perhaps ldconfig should use ${prefix}-based file names when
> ${prefix}!=/usr so that you would get a separate ld.so.cache universe for
> your separate libc installation.
Volunteers?
Not something with a really high priority for me, especially if you'd
install the following patch :-)
Mark
2000-07-10 Mark Kettenis <kettenis@gnu.org>
* Makefile (install): Only run ldconfig if prefix is /usr and
install_root is empty.
Index: Makefile
===================================================================
RCS file: /cvs/glibc/libc/Makefile,v
retrieving revision 1.199
diff -u -p -r1.199 Makefile
--- Makefile 2000/06/14 03:45:52 1.199
+++ Makefile 2000/07/10 00:04:48
@@ -107,13 +107,13 @@ install-symbolic-link: subdir_install
$(symbolic-link-prog) $(symbolic-link-list)
rm -f $(symbolic-link-list)
+ifeq (/usr,$(prefix))
+ifeq (,$(install_root))
install:
-test ! -x $(common-objpfx)elf/ldconfig || \
$(common-objpfx)elf/ldconfig $(addprefix -r ,$(install_root)) \
$(slibdir) $(libdir)
ifneq (no,$(PERL))
-ifeq (/usr,$(prefix))
-ifeq (,$(install_root))
CC="$(CC)" $(PERL) scripts/test-installation.pl $(common-objpfx)
endif
endif
More information about the Libc-hacker
mailing list