Subject: shlib version question
To: None <current-users@NetBSD.ORG>
From: Dave Huang <>
List: current-users
Date: 06/01/1998 22:01:39
I semi-recently switched to using egcs as my C/C++ compiler, so I now
have a, along with the I had from the
old g++:

-r--r--r--  1 root  wheel  293735 Apr 10 16:57 /usr/lib/
-r--r--r--  1 root  wheel  318231 May 27 07:01 /usr/lib/

mozilla, which I compiled with the old g++ has quit working though... it
gives me:

/usr/libexec/ warning: minor version >= 1 expected, using it anyway
/usr/libexec/ Undefined symbol "___terminate" in mozilla-export:/usr/lib/

ldd says:

/usr/libexec/ warning: minor version >= 1 expected, using it anyway
        -lXm.1 => /usr/X11R6/lib/ (0x847e000)
        -lXt.6 => /usr/X11R6/lib/ (0x8576000)
        -lXmu.6 => /usr/X11R6/lib/ (0x85b1000)
        -lXext.6 => /usr/X11R6/lib/ (0x85c1000)
        -lX11.6 => /usr/X11R6/lib/ (0x85cd000)
        -lSM.6 => /usr/X11R6/lib/ (0x8655000)
        -lICE.6 => /usr/X11R6/lib/ (0x865d000)
        -lc.12 => /usr/lib/ (0x866f000)
        -lg++.4 => /usr/lib/ (0x86d7000)
        -lstdc++.0 => /usr/lib/ (0x8709000)
        -lm.0 => /usr/lib/ (0x8749000)
        -lcurses.2 => /usr/lib/ (0x8761000)

So, if it was linked against stdc++.0, why's using stdc++.1? Sure,
it's got a higher version number, but I thought the idea was that
whenever the major version number changed, that meant the library wasn't
compatible with the previous version.

This is on mac68k from a few days ago (May 27, I'd guess), but I also
saw it with ftp on i386, when libedit's version changed and I hadn't
recompiled ftp yet.
Name: Dave Huang     |   Mammal, mammal / their names are called /
INet:   |   they raise a paw / the bat, the cat /
FurryMUCK: Dahan     |   dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 22 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++