From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,56fafa30d6610151 X-Google-Attributes: gidfee84,public 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 Message-ID: <6kiisg$ih1@dogbert.cc.ndsu.NoDak.edu>#1/1 X-Deja-AN: 357169956 References: <6k8ksf$ub2$1@nntp6.u.washington.edu> Organization: North Dakota Higher Education Computing Network (NDHECN) Newsgroups: comp.unix.osf.osf1 In article <6k8ksf$ub2$1@nntp6.u.washington.edu>, Jim Belonis 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//) 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