SUMMARY: ld.so warnings - how can we get rid of them

From: Matthias Ernst (maer@bernina.ethz.ch)
Date: Tue Dec 01 1992 - 01:25:40 CST


I received some answers to my question and some requestes for a summary.
Here it the original question:

>when one starts up a program, which was compiled under a newer
>version of SunOS, you always get a bunch of warnings from ld.so
>because some of the dynamic linked libraries have older minor
>revision numbers than the ones during compiletime.

>ld.so: warning: /usr/lib/libc.so.1.6 has older revision than expected 7

>This happens if you have some machines running SunOS 4.1.3 and some
>running 4.1.1. In our case the two servers which are used for
>compilation are running the newer version and every time a user starts
>a program on his workstation he gets these warnings. Sometimes this
>can get very annoying and we would like to get rid of these warnings.

>Is there a (simple) method to disable these warnings ?

>I checked the man pages for ld.so and the answer book, but couldn't find
>anything appropriate.

>If there is interest I will summarize the answers.

>Thanks for any hints.

>Matthias

Most people suggested using a dynamic link from /usr/lib/libc.so.8 to
/usr/lib/libc.so.6. This works so far fine for me. One person said, that
it is necessary to link libc.sa, too, because otherwise ld will crash.
This seems to be not true, at least I have not seen it so far.
Other suggestions included upgrading all the machines or compiling all
software on the machine with the oldest release. Both is for various reasons
impractical for our site, so we choose the dynamic link solution.

Thanks to:

simon@lia.di.epfl.ch (Simon Leinen)
I.G.Batten@fulcrum.co.uk
"S. Page" <sp@cs.city.ac.uk>
guy@auspex.com (Guy Harris)
asnow%whamt@att.att.com (James A Snow)
peter@essex.ac.uk
Roland Kaltefleiter <kaltef@theo-physik.uni-kiel.dbp.de>
rsnyder@ASTRO.GE.COM

for their help.

Matthias

+-----------------------------------------------------------------------------+
| Matthias Ernst Domain: maer@nmr.lpc.ethz.ch |
| Institut fuer physikalische Chemie Bitnet: maer@czheth5a.bitnet |
| Eidgenoessische Technische Hochschule UUCP: ...!mcsun!chx400!ethz!maer |
| ETH-Zentrum Phone: +41/1/256-4374 |
| CH-8092 Zuerich Fax: +41/1/252-3402 |
+-----------------------------------------------------------------------------+

-- 

+-----------------------------------------------------------------------------+ | Matthias Ernst Domain: maer@nmr.lpc.ethz.ch | | Institut fuer physikalische Chemie Bitnet: maer@czheth5a.bitnet |



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:06:53 CDT