This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: ldconfig problems


   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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]