From xemacs-m  Thu May 29 22:01:26 1997
Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1])
	by xemacs.org (8.8.5/8.8.5) with SMTP id WAA09288
	for <xemacs-beta@xemacs.org>; Thu, 29 May 1997 22:01:25 -0500 (CDT)
Received: from Eng.Sun.COM ([129.146.1.25]) by mercury.Sun.COM (SMI-8.6/mail.byaddr) with SMTP id UAA10513; Thu, 29 May 1997 20:18:04 -0700
Received: from kindra.eng.sun.com by Eng.Sun.COM (SMI-8.6/SMI-5.3)
	id UAA16367; Thu, 29 May 1997 20:00:20 -0700
Received: from xemacs.eng.sun.com by kindra.eng.sun.com (SMI-8.6/SMI-SVR4)
	id UAA14521; Thu, 29 May 1997 20:00:16 -0700
Received: by xemacs.eng.sun.com (SMI-8.6/SMI-SVR4)
	id UAA19045; Thu, 29 May 1997 20:00:25 -0700
Date: Thu, 29 May 1997 20:00:25 -0700
Message-Id: <199705300300.UAA19045@xemacs.eng.sun.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
From: Martin Buchholz <mrb@Eng.Sun.COM>
To: Hrvoje Niksic <hniksic@srce.hr>
Cc: akaempf@bbnplanet.com, XEmacs Developers <xemacs-beta@xemacs.org>
Subject: Re: `-R' on Solaris
In-Reply-To: <kig7mgj3mlv.fsf@jagor.srce.hr>
References: <kigu3jom7k5.fsf@jagor.srce.hr>
	<4936-Wed28May1997063609-0400-akaempf@bbnplanet.com>
	<kig7mgj3mlv.fsf@jagor.srce.hr>
X-Mailer: VM 6.31 under 20.3 XEmacs Lucid (beta2)
Reply-To: Martin Buchholz <mrb@Eng.Sun.COM>

>>>>> "Hrv" == Hrvoje Niksic <hniksic@srce.hr> writes:

Hrv> I have it.  XEmacs speicifies `-R/usr/openwin/lib' by default (as well
Hrv> as /usr/dt/lib and others), which is not the case for
Hrv> `-R/usr/local/lib'.

Note that the -R flags are actually derived from the -L flags, and I'm 
sure you want -L/usr/openwin/lib.

>> On Solaris there really is no /usr/local and at many installations all 
>> optional software gets dumped into /opt instead of /usr/local...

Hrv> GNU and other third-party software is normally put to /usr/local.
Hrv> Most of free software configures to /usr/local prefix by default.
Hrv> Optional software provided by Sun is put to /opt.  But it's not the
Hrv> issue we are discussing.

I've always worked in environments with thousands of networked
machines.  In those environments, installing to local disk, which
/usr/local normally is, is essentially useless for software I want to
share. 

Hrv> The issue here is that my gcc links with /usr/local/lib by default,

How to detect this?

Hrv> and all of my binaries fail because of libz.so (or libxpm.so, or...)
Hrv> which is in /usr/local/lib.

Martin

