From wb@yorikke.arb-phys.uni-dortmund.de  Tue Sep 22 07:07:59 1998
Received: from yorikke.arb-phys.uni-dortmund.de (yorikke.arb-phys.uni-dortmund.de [192.109.44.12])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA08147
          for <FreeBSD-gnats-submit@freebsd.org>; Tue, 22 Sep 1998 07:07:04 -0700 (PDT)
          (envelope-from wb@yorikke.arb-phys.uni-dortmund.de)
Received: (from wb@localhost)
	by yorikke.arb-phys.uni-dortmund.de (8.9.1/8.9.1) id QAA02213;
	Tue, 22 Sep 1998 16:07:23 +0200 (MET DST)
	(envelope-from wb)
Message-Id: <199809221407.QAA02213@yorikke.arb-phys.uni-dortmund.de>
Date: Tue, 22 Sep 1998 16:07:23 +0200 (MET DST)
From: "Wilhelm B. Kloke" <wb@yorikke.arb-phys.uni-dortmund.de>
Reply-To: wb@yorikke.arb-phys.uni-dortmund.de
To: FreeBSD-gnats-submit@freebsd.org
Subject: ldconfig -elf does not merge /usr/local/lib
X-Send-Pr-Version: 3.2

>Number:         8021
>Category:       bin
>Synopsis:       ldconfig -elf does not merge /usr/local/lib
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 22 07:10:01 PDT 1998
>Closed-Date:    Tue Sep 22 08:51:22 PDT 1998
>Last-Modified:  Tue Sep 22 08:52:31 PDT 1998
>Originator:     Wilhelm B. Kloke
>Release:        FreeBSD 3.0-CURRENT i386
>Organization:
>Environment:

	FreeBSD 3.0-CURRENT this week

>Description:

	In ports/graphics I failed to make tiff34 because the
	dependency jpeg-9.0 could not be resolved.
	I traced this down to ldconfig, which does not merge
	either /usr/X11R6/lib nor /usr/local/lib into the hints-file.
	The file is there and accessible:
> su-2.01# file /usr/local/lib/libjpeg.so.9.0
> /usr/local/lib/libjpeg.so.9.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (FreeBSD), not stripped
	but ldconfig -m /usr/local/lib does not add it.

>How-To-Repeat:

	easily, I hope.

>Fix:
	
	Don't know.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: jdp 
State-Changed-When: Tue Sep 22 08:51:22 PDT 1998 
State-Changed-Why:  
The ports have not been converted to ELF yet.  Until they are converted, 
we expect problems such as this.  Once the port has been converted, the 
library will be named "libjpeg.so.9" and then ldconfig -elf will 
find it. 
>Unformatted:
