Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* DEC OSF1.3 libXm.a   versus DEC OSF 2.1 libXm.a
@ 1994-11-18 14:10 Dale Moore
  0 siblings, 0 replies; only message in thread
From: Dale Moore @ 1994-11-18 14:10 UTC (permalink / raw)


Short Version:

	DEC OSF 2.0 /usr/shlib/libXm.so is not upward compatible from
	DEC OSF 1.3 /usr/shlib/libXm.so .

Long Version:

We have several dozen applications that were linked against the Motif
shared library /usr/shib/libXm.so .  When we upgraded from
DEC OSF1.3 to DEC OSF 2.0 or 2.1 these applications no longer
worked as expected.  Instead they produce on stdout things like

    X Toolkit Warning: Representation size 4 must match superclass's to override baseWidth
    X Toolkit Warning: Representation size 8 must match superclass's to override iconPixmap
    X Toolkit Warning: Representation size 4 must match superclass's to override iconX
    X Toolkit Error: Couldn't find per display information

These applications were built on a DEC OSF 1.3 machine.  Some of  these are licensed
applications. Some of these we have sources to. Some we don't.  Some are from a
Freeware CD.

I suspect that DEC did some preliminary work on getting Motif 1.2 to work on a 64
bit architecture.  Then OSF did some additional and non-compatible work. 
Later DEC picked up OSF's work and incorporated that into their OSF2.0 Motif library.

As a workaround, we're installing the OSF 1.3 libXm.so shared library in
a seperate directory.  We're mucking LD_LIBRARY_PATH in a wrapper
script to suck in that seperate directory before /usr/shlib .  Then the wrapper
script execs the unmodified application. This appears to make things work
as expected.

I really wish that DEC would have used some sort of version numbering
system in this shared library.  But then I suspect that DEC, like many others,
has 20/20 hindsight.

If you know of a better solution or workaround, please feel free to
let me know.

Dale.Moore@cs.cmu.edu


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1994-11-18 14:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-11-18 14:10 DEC OSF1.3 libXm.a versus DEC OSF 2.1 libXm.a Dale Moore

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox