From seggers@semyam.dinoco.de  Sat Oct 10 10:24:44 1998
Received: from tim.xenologics.com (tim.xenologics.com [194.77.5.24])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA02535
          for <FreeBSD-gnats-submit@freebsd.org>; Sat, 10 Oct 1998 10:24:40 -0700 (PDT)
          (envelope-from seggers@semyam.dinoco.de)
Received: (from uucp@localhost)
	by tim.xenologics.com (8.8.5/8.8.8) with UUCP id TAA24333
	for FreeBSD-gnats-submit@freebsd.org; Sat, 10 Oct 1998 19:23:01 +0200 (MET DST)
Received: (from seggers@localhost)
	by semyam.dinoco.de (8.9.1/8.8.8) id TAA17991;
	Sat, 10 Oct 1998 19:22:58 +0200 (CEST)
	(envelope-from seggers)
Message-Id: <199810101722.TAA17991@semyam.dinoco.de>
Date: Sat, 10 Oct 1998 19:22:58 +0200 (CEST)
From: Stefan Eggers <seggers@semyam.dinoco.de>
Reply-To: seggers@semyam.dinoco.de
To: FreeBSD-gnats-submit@freebsd.org
Cc: seggers@semyam.dinoco.de
Subject: vim4: vim -g (on ELF w/o Motif) doesn't find Xaw w/o help
X-Send-Pr-Version: 3.2

>Number:         8253
>Category:       ports
>Synopsis:       vim4: vim -g (on ELF w/o Motif) doesn't find Xaw w/o help
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 10 10:30:00 PDT 1998
>Closed-Date:    Sun Oct 11 08:43:38 PDT 1998
>Last-Modified:  Sun Oct 11 08:45:48 PDT 1998
>Originator:     Stefan Eggers
>Release:        FreeBSD 3.0-BETA i386
>Organization:
none
>Environment:

	A -current ELF system with ELF XFree86 under /usr/X11R6.

>Description:

	Building the vim4 port with WITH_X set produces an ELF
executable which doesn't find libXaw.so.6 by itself.  With the help
from LIB_LIBRARY_PATH it works.

>How-To-Repeat:

	See under "Description".

>Fix:
	
	Adding the propper library search path to the linker options
should make this work I think.  Haven't done this myself, yet so am
not sure about which one.
>Release-Note:
>Audit-Trail:

From: Stefan Eggers <seggers@semyam.dinoco.de>
To: FreeBSD-gnats-submit@FreeBSD.ORG, freebsd-ports@FreeBSD.ORG
Cc: seggers@semyam.dinoco.de
Subject: Re: ports/8253: vim4: vim -g (on ELF w/o Motif) doesn't find Xaw w/o help 
Date: Sat, 10 Oct 1998 20:51:56 +0200

 Hi!
 
 I now know why it failed on my machine.  I had an old /etc/rc which
 didn't set the ELF ldconfig path.  Now that this gets set "vim -g"
 works as expected.
 
 As far as I remember the mails on -current it was supposed to have
 the library search path in the executable and that made me file a
 bug report.  Now the questions is how this shall work on an ELF
 system.  With library search path (overrideable by LD_LIBRARY_PATH)
 or shall vim4 be solely relying on ldconfig information?
 
 Stefan.
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Sun Oct 11 08:43:38 PDT 1998 
State-Changed-Why:  
As the originator states the solution is to put the correct ldconfig 
path entries in /etc/rc.conf. 
>Unformatted:
