From xemacs-m  Wed Jul  2 20:10:57 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 UAA12254
	for <xemacs-beta@xemacs.org>; Wed, 2 Jul 1997 20:10:56 -0500 (CDT)
Received: from Eng.Sun.COM ([129.146.1.25]) by mercury.Sun.COM (SMI-8.6/mail.byaddr) with SMTP id SAA12601; Wed, 2 Jul 1997 18:35:12 -0700
Received: from kindra.eng.sun.com by Eng.Sun.COM (SMI-8.6/SMI-5.3)
	id SAA12463; Wed, 2 Jul 1997 18:10:06 -0700
Received: from xemacs.eng.sun.com by kindra.eng.sun.com (SMI-8.6/SMI-SVR4)
	id SAA18467; Wed, 2 Jul 1997 18:10:04 -0700
Received: by xemacs.eng.sun.com (SMI-8.6/SMI-SVR4)
	id SAA01677; Wed, 2 Jul 1997 18:10:01 -0700
Date: Wed, 2 Jul 1997 18:10:01 -0700
Message-Id: <199707030110.SAA01677@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: acs@acm.org
Cc: Rick Campbell <rickc@lehman.com>,
        XEmacs Beta List <xemacs-beta@xemacs.org>
Subject: Re: Solaris dynamics? 
In-Reply-To: <9706301451.AA21611@grind.icd.teradyne.com>
References: <9706301423.AA17694@cfdevx1.lehman.com>
	<9706301451.AA21611@grind.icd.teradyne.com>
X-Mailer: VM 6.32 under 20.3 "Sofia" XEmacs  Lucid (beta9)
Reply-To: Martin Buchholz <mrb@Eng.Sun.COM>

Most Unix vendors are moving away from static libs, and starting to
provide only dynamic libs.  In theory, everything should work fine if
you build your binaries on the oldest OS you want to run on.  Those
binaries are then pseudo-guaranteed to run on more recent OSes as
well, as long as the major version number is not incremented.  

You can't build completely static xemacs binaries on Solaris, by
design.  You're not even supposed to try.  I understand Sun's
motivation, but I would have provided static libs anyways, for those
users who know what they want and know what they're doing.

I build XEmacs for use by others exclusively on 2.4.  I use 2.5.1 and
2.6 exclusively for random (non-configure-related) hacking, just
because they're better OSes.  You just have to keep some crufty old
machine running some crufty old OS around for 5 years or so.

Martin

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

Vin> rickc@lehman.com said:
>> Anyway, when I try to run the prebuilt 19.15, I get an error message
>> about not being able to find libXm.so.3 and sure enough, what's in my
>> path is libXm.so.2.  Is there any way that I can run the prebuilt
>> XEmacs under Solaris? 

Vin> What happens when you symlink libXm.so.3 to libXm.so.2?


>> Is there any chance that policy can be changed so that the prebuilt
>> XEmacs binaries are portable.  In particular, can the policy be that a
>> staticly linked version is made available for people who don't have
>> the particular mix of shared libraries that existed in the build
>> environment? 

Vin> My understanding is that some of the Motif licensing issues are a little 
Vin> screwy, and that static libraries are not always available.  I have no 
Vin> static motif libs under Solaris 2.5, but maybe the static libs were an 
Vin> install-time option.

