From xemacs-m  Wed May 28 05:58:46 1997
Received: from who11.bbnplanet.com (root@who11.bbnplanet.com [207.121.186.154])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id FAA22550
	for <xemacs-beta@xemacs.org>; Wed, 28 May 1997 05:58:45 -0500 (CDT)
From: akaempf@bbnplanet.com
Received: from who11.bbnplanet.com.bbnplanet.com (who11.bbnplanet.com [207.121.186.154])
	by who11.bbnplanet.com (8.8.5/8.8.5) with SMTP id GAA10313;
	Wed, 28 May 1997 06:57:55 -0400
Date: Wed, 28 May 1997 06:57:54 -0400
Message-ID: <5350-Wed28May1997065754-0400-akaempf@bbnplanet.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
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)

Hrvoje Niksic writes:
 > akaempf@bbnplanet.com writes:
 > 
 > > Hrvoje Niksic writes:
 > >  > Martin, can you please add `-R/usr/local/lib' for default linker flags 
 > >  > on Solaris, at least when compiling with gcc?  The problem is that gcc 
 > >  > uses `-L/usr/local/lib' by default (even without specifying it
 > >  > explicitly).  And then temacs silently fails, as well as gnuserv and
 > >  > other stuff.
 > > 
 > > why would you not use -R /usr/openwin/lib...
 > 
 > I have it.  XEmacs speicifies `-R/usr/openwin/lib' by default (as well
 > as /usr/dt/lib and others), which is not the case for
 > `-R/usr/local/lib'.

 > 
 > > On Solaris there really is no /usr/local and at many installations all 
 > > optional software gets dumped into /opt instead of /usr/local...
 > 
 > GNU and other third-party software is normally put to /usr/local.
 > Most of free software configures to /usr/local prefix by default.
 > Optional software provided by Sun is put to /opt.  But it's not the
 > issue we are discussing.
 > 
 > The issue here is that my gcc links with /usr/local/lib by default,
 > and all of my binaries fail because of libz.so (or libxpm.so, or...)
 > which is in /usr/local/lib.

i see where that could cause a problem...

thanks for the explanation...

cheers,
andreas
-- 




