Newsgroups: comp.windows.x
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!think.com!snorkelwacker.mit.edu!bloom-beacon!dont-send-mail-to-path-lines
From: mouse@lightning.mcrcim.mcgill.EDU (der Mouse)
Subject: Re:  Sun shared libs - openwin vs MIT R4
Message-ID: <9105090143.AA02124@lightning.McRCIM.McGill.EDU>
Sender: daemon@athena.mit.edu (Mr Background)
Organization: The Internet
Date: 9 May 91 01:43:17 GMT
Lines: 28

[LD_LIBRARY_PATH and OpenWindows vs MIT X]

Well, *I'd* trash OpenWindows, but I get the impression you don't like
that idea.

> I've tried all the combinations of cc arguments that I can think of,
> to no avail.

Did you try -Bstatic? :-)

A couple of suggestions:

1) Replace all the OW programs with shell script wrappers that bash
   $LD_LIBRARY_PATH and then exec the real binary.

2) Use your favorite binary editor to bash the LD_LIBRARY_PATH string
   in the OW binaries to OW_LIBRARY_PATH or some such.  (Could be
   automated easily; I can toss together a program to do it if you
   want.)

I have some other suggestions, but they're more in the nature of
beating Sun over the head than help.  (Things like "junk anything you
don't have source to, then fix the source and rebuild".)

					der Mouse

			old: mcgill-vision!mouse
			new: mouse@larry.mcrcim.mcgill.edu
