[comp.sys.sun] dynamic vs. static linking

ddp+@andrew.cmu.edu (Drew Daniel Perkins) (10/08/90)

Can anyone comment on what commercial packages under SunOS 4.x do about
dynamic vs. static linking?  If I link a program on a SparcStation running
4.0.3c and then run it on a Sun 4/490 runnning 4.0.3, I get an anoying
message: ld.so: warning: /usr/lib/libc.so.1.3 has older revision than
expected 4

I've found a few ways to get around this, none of them particularly enticing:
1. Link on the 4.0.3 system so that I get /usr/lib/libc.so.1.3.
2. Link on the SS1 and explicitly use /usr/lib/libc.so.1.3.
3. Use static linking.

What do other people do?

Drew