*BSD News Article 86024


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!pumpkin.pangea.ca!www.nntp.primenet.com!nntp.primenet.com!howland.erols.net!news.mathworks.com!uunet!in3.uu.net!140.174.88.1!wsrcc.com!not-for-mail
From: wolfgang@wsrcc.com (Wolfgang Rupprecht)
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: Re: LD_LIBRARY_PATH and XFree86 3.2 on NetBSD/i386
Date: 1 Jan 1997 16:00:19 -0800
Organization: W S Rupprecht Computer Consulting, Fremont CA
Lines: 29
Message-ID: <5aetqj$4f9@wsrcc.com>
References: <5a9ht3$sn6@wsrcc.com> <p4uzpyuibz1.fsf@leidecker.gsfc.nasa.gov>
NNTP-Posting-Host: wsrcc.com
X-Newsreader: NN version 6.5.0 #5 (NOV)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.netbsd.misc:5050

kstailey@leidecker.gsfc.nasa.gov (Kenneth Stailey) writes:
>In article <5a9ht3$sn6@wsrcc.com> wolfgang@wsrcc.com (Wolfgang Rupprecht) writes:
>>I'm trying to get XFree86 3.2 up on virgin NetBSD/i386 system.  It
>>apears that the LD_LIBRARY_PATH must be set or ldconfig must include
>>the X-libs for the apps to function correctly.
>>
>>In the SunOS way of handling this, one could link an absolute path
>>into the executable and have the run-time linker look for the
>>libraries with those absolute names.  This allowed one to have a bit
>>of overlap when, for example, upgrading the X11 tree.  The old
>>executables would still use the old lib path and the new executables
>>could use the new lib path.
>>
>>Is there a similar way to do this under NetBSD?
>>
>Read "man ldconfig"

The choices I mentioned in my first post were:

	1) set LD_LIBRARY_PATH 
	2) include the X-libs in the list of ldconfig-ed libs.

Is there something else you see on the ldconfig man page that I
missed?

-wolfgang
-- 
Wolfgang Rupprecht    <wolfgang@wsrcc.com>     <http://www.wsrcc.com/> 
          Sick of email spam?  <http://www.vix.com/spam/>