From wb@yorikke.arb-phys.uni-dortmund.de  Tue Sep 22 07:28:24 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 HAA11679
          for <FreeBSD-gnats-submit@freebsd.org>; Tue, 22 Sep 1998 07:28:19 -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 QAA03337;
	Tue, 22 Sep 1998 16:29:04 +0200 (MET DST)
	(envelope-from wb)
Message-Id: <199809221429.QAA03337@yorikke.arb-phys.uni-dortmund.de>
Date: Tue, 22 Sep 1998 16:29:04 +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 libjeg.so.9.0
X-Send-Pr-Version: 3.2

>Number:         8022
>Category:       bin
>Synopsis:       ldconfig -elf does not merge libjeg.so.9.0
>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:30:00 PDT 1998
>Closed-Date:    Tue Sep 22 11:41:14 PDT 1998
>Last-Modified:  Tue Sep 22 11:43:35 PDT 1998
>Originator:     Wilhelm B. Kloke
>Release:        FreeBSD 3.0-CURRENT i386
>Organization:
>Environment:

	FreeBSD 3.0-CURRENT this week

>Description:

	I just reported the problem that ldconfig does not
	merge /usr/local/lib. Now I noticed that the problem is
	not the directory but the filename.

>How-To-Repeat:

	

>Fix:
	
	in /usr/src/sbin/ldconfig/elfhints.c lines 102-114 checks
	the filename for a valid shared library name.
	This seems to exclude subversion numbers.
	
	The problem may be in the port, if subversions are not allowed.
	But Linux e.g. makes use of such numbering.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Tue Sep 22 11:41:14 PDT 1998 
State-Changed-Why:  
As John Polstra pointed out in closing PR #8021: 

"The ports have not been converted to ELF yet.  Until they are converted, 
we expect problems such as this. ..." 
>Unformatted:
