Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: mooney@dogbert.cc.ndsu.NoDak.edu (Tim Mooney)
Subject: Re: less has version "osf.1" not match libcurses.so version "xpg4"
Date: 1998/05/27	[thread overview]
Message-ID: <6kiisg$ih1@dogbert.cc.ndsu.NoDak.edu> (raw)
In-Reply-To: 6k8ksf$ub2$1@nntp6.u.washington.edu


In article <6k8ksf$ub2$1@nntp6.u.washington.edu>,
Jim Belonis <belonis@dirac.phys.washington.edu> wrote:
> We have a directory /pub/bin where we keep locally compiled stuff including
> 'less' which has worked for various versions of Digital Unix through 4.0B.
> But we just received a DEC Alpha PC with Digital Unix 4.0D pre-installed.
> It gives an error message when we run several (all ?) of these old executables.
> 
> ben 9# less .cshrc
> 5790:/pub/bin/less: /sbin/loader: Fatal Error: object libcurses.so from liblist
> in /pub/bin/less has version "osf.1", which does not match the found object: 
> /usr/shlib/libcurses.so (with version "xpg4")
> ben 10#                                      
> 
> Can we work-around this without recompiling everything ?
> 
> If we have to recompile, will we need to keep a 4.0B version of all the 
> programs plus new 4.0D versions ?
> 
> And, of course, more generally, what is this about ?

You could work around this by loading the appropriate OBSOLETE fileset(s), to
get the pre-4.x curses library, which had an internal version of `osf.1' (use
`odump -D' to see the internal library version, or `odump -Dl' to see what
libraries a program depends on).

less apparently was compiled under 3.x.  Under 4.0 - 4.0c, the default curses
library is the (supposedly!) X/Open Portability Guide 4 (xpg4) compliant
curses library *but* the previous version of the curses library (which had
an `osf.1' version) was kept around where the loader could find it (
/usr/shlib/<version>/<soname>)

Note that if you had recompiled your curses based applications at any of
4.0 through 4.0c, they would have linked with the newer version of curses and
then upgrading to 4.0d wouldn't have caused the problem.

At 4.0d, the old curses library is no longer available by default, so you would
need to load the OBSOLETE fileset to get it.

Tim
-- 
Tim Mooney                              mooney@dogbert.cc.ndsu.NoDak.edu
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J1, IACC Building              (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164



  parent reply	other threads:[~1998-05-27  4:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-05-24  4:00 less has version "osf.1" not match libcurses.so version "xpg4" Jim Belonis
1998-05-25  4:00 ` Gerald A. Feldman
1998-05-25  4:00 ` Gerald A. Feldman
1998-05-26  4:00   ` Nikola Milutinovic
1998-05-27  4:00 ` Tim Mooney [this message]
1998-05-28  4:00   ` Serguei Patchkovskii
read-only archive

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