Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Sep 2009 19:01:25 GMT
From:      Bruce Cran <bruce@cran.org.uk>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/138945: [sysinstall] remove configuration of /usr/X11R6/lib as shared library path
Message-ID:  <200909181901.n8IJ1Pw5030712@www.freebsd.org>
Resent-Message-ID: <200909181910.n8IJA1qD003596@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         138945
>Category:       bin
>Synopsis:       [sysinstall] remove configuration of /usr/X11R6/lib as shared library path
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 18 19:10:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Bruce Cran
>Release:        8.0-RC1
>Organization:
>Environment:
FreeBSD helix.draftnet 8.0-RC1 FreeBSD 8.0-RC1 #0: Fri Sep 18 01:57:55 BST 2009 brucec@helix.draftnet:/usr/obj/usr/src/sys/GENERIC i386
>Description:
During installation sysinstall runs ldconfig to configure several directories including /usr/X11R6/lib as directories containing shared libraries.  /usr/X11R6 is no longer created or used since xorg is now installed under /usr/local, and can be removed from the set of directories.
>How-To-Repeat:
Install FreeBSD. A warning is produced during installation that /usr/X11R6/lib doesn't exist.
>Fix:


Patch attached with submission follows:

--- usr.sbin/sysinstall/package.c.orig	2009-09-18 20:50:32.000000000 +0100
+++ usr.sbin/sysinstall/package.c	2009-09-18 20:50:51.000000000 +0100
@@ -139,7 +139,7 @@
 
     /* If necessary, initialize the ldconfig hints */
     if (!file_readable("/var/run/ld-elf.so.hints"))
-	vsystem("ldconfig /usr/lib /usr/lib/compat /usr/local/lib /usr/X11R6/lib");
+	vsystem("ldconfig /usr/lib /usr/lib/compat /usr/local/lib");
 
     /* Be initially optimistic */
     ret = DITEM_SUCCESS;


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909181901.n8IJ1Pw5030712>