Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!mips!twg.com!david From: david@twg.com (David S. Herron) Newsgroups: comp.windows.x Subject: Re: Sun shared libs - openwin vs MIT R4 Message-ID: <8931@gollum.twg.com> Date: 15 May 91 17:21:20 GMT References: <1991May8.210941.4846@watdragon.waterloo.edu> <1991May9.112951@sic.epfl.ch> <1991May09.131205.1354@convex.com> Organization: The Wollongong Group, Palo Alto, CA Lines: 52 In article <1991May09.131205.1354@convex.com> datri@convex.com (Anthony A. Datri) writes: >> John, I think the permanent solution is to use only the MIT's >>libraries. The "quick hack" we did the other day was to link on our system with `-Bstatic' .. that gets the program to *work* but screws up the niceties of having shared libraries.. (SIGH!) >I've heard that Sun's Xt has some R3 left in it. Quoting from /usr/openwin/include/X11/IntrinsicP.h #ident "@(#)IntrinsicP.h 1.2 SMI" /* * $XConsortium: IntrinsicP.h,v 1.46 89/12/12 20:07:10 swick Exp $ * $oHeader: IntrinsicP.h,v 1.4 88/08/26 14:49:52 asente Exp $ */ ... #define XT_VERSION 11 #define XT_REVISION 3 #define XtVersion (XT_VERSION * 1000 + XT_REVISION) (SIGH!) >What I've settled on is to have a script called "orun": > Eh? > #!/bin/sh > export LD_LIBRARY_PATH > LD_LIBRARY_PATH="/usr/openwin/lib:/usr/lib/X11" > eval `/usr/openwin/bin/svenv -env` > exec $* Didn't work for me: | 3 - ra:david --> setenv LD_LIBRARY_PATH /usr/openwin/lib:/usr/lib/X11 | 4 - ra:david --> /usr/openwin/bin/svenv -env svenv: can't get SunView environment information (`ra' is a Sun 4/490 with 4.1.1) (All hail the Sun God! He's a mighty Fun God! Ra! Ra! Ra!) David -- <- David Herron, an MMDF & WIN/MHS guy, <- Formerly: David Herron -- NonResident E-Mail Hack <- <- "MS-DOS? Where we're going we don't need MS-DOS." --Back To The Future