From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,6d3fb3017b62d61f,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-11-18 06:37:30 PST Path: nntp.gmd.de!xlink.net!howland.reston.ans.net!news2.near.net!das-news2.harvard.edu!cantaloupe.srv.cs.cmu.edu!MOORE.FAC.CS.CMU.EDU!moore From: moore@MOORE.FAC.CS.CMU.EDU (Dale Moore) Newsgroups: comp.unix.osf.osf1 Subject: DEC OSF1.3 libXm.a versus DEC OSF 2.1 libXm.a Date: 18 Nov 1994 14:10:08 GMT Organization: Carnegie Mellon University Distribution: world Message-ID: <3aick0$dve@cantaloupe.srv.cs.cmu.edu> NNTP-Posting-Host: moore.fac.cs.cmu.edu Keywords: upward-compatibility, version-skew, shared-libraries, motif 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