From xemacs-m  Thu May 29 00:38:39 1997
Received: from barbar.esat.kuleuven.ac.be (root@barbar.esat.kuleuven.ac.be [134.58.56.153])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id AAA25188
	for <xemacs-beta@xemacs.org>; Thu, 29 May 1997 00:38:38 -0500 (CDT)
Received: from rubens.esat.kuleuven.ac.be (rubens.esat.kuleuven.ac.be [134.58.63.67]) by barbar (version 8.8.5)  with SMTP
	id HAA29258; Thu, 29 May 1997 07:38:37 +0200 (METDST)
Organization: ESAT, K.U.Leuven, Belgium
Received: by rubens.esat.kuleuven.ac.be (SMI-8.6/ESAT-v1.5/SUN-SOLARIS)
	id HAA06238; Thu, 29 May 1997 07:37:59 +0200
To: acs@acm.org
Cc: XEmacs Developers <xemacs-beta@xemacs.org>
Subject: Re: `-R' on Solaris
References: <199705282216.SAA06139@spacely.icd.teradyne.com>
From: Maurizio Vitale <Maurizio.Vitale@esat.kuleuven.ac.be>
Date: 29 May 1997 07:37:59 +0200
In-Reply-To: Vinnie Shelton's message of Wed, 28 May 1997 18:16:02 -0400
Message-ID: <y2hraeqyh1k.fsf@rubens.esat.kuleuven.ac.be>
Lines: 20
X-Mailer: Gnus v5.4.46/XEmacs 20.2(beta3)

Vinnie Shelton  <shelton@icd.teradyne.com> writes:

> hniksic@srce.hr said:
> > All very true -- only you bring no conclusion.  To me it seems that
> > the only reasonable thing is to simply add the required `-R'.  I
> > haven't heard a good reason against this. 
> 
> 
> Actually, I think the right thing to do is remove the automatic
> -L/usr/local/lib, and force the installer to specify --site-libraries and 
> --site-runtime-libraries.
> 
> Hrvoje, believe it or not, some people like being able to have 
> LD_LIBRARY_PATH work at runtime.  -R, as George pointed out, is pre-emptive.
> 

But it's also the only way I've found to debug with gdb on Solaris
when some of the shared libraries are not in standard places. For some 
reasons gdb doesn't obey LD_LIBRARY_PATH.
-mav

