This is the mail archive of the mailing list for the glibc project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fix ldconfig message

Reading BZ #13893 "cross compile issue with prefix: not found
", I think the user got confused by a warning message and considered it
an error.

So, let's make the message clearer.

Ok to commit?


2012-05-08  Andreas Jaeger  <>

        [BZ #13893]
	* elf/ldconfig.c (parse_conf): Change string to make clear that
	ldconfig only issued a warning if does not exist.

diff --git a/elf/ldconfig.c b/elf/ldconfig.c
index aa97213..7774372 100644
--- a/elf/ldconfig.c
+++ b/elf/ldconfig.c
@@ -1061,7 +1061,7 @@ parse_conf (const char *filename, bool do_chroot)
   if (file == NULL)
-      error (0, errno, _("Can't open configuration file %s"), canon);
+      error (0, errno, _("Warning: cannot open configuration file %s"), canon);
       if (canon != filename)
 	free ((char *) canon);

 Andreas Jaeger aj@{,} Twitter/Identica: jaegerandi
  SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 NÃrnberg, Germany
   GF: Jeff Hawn,Jennifer Guild,Felix ImendÃrffer,HRB16746 (AG NÃrnberg)
    GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126

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