dynamic vs. static linking
Drew Daniel Perkins
ddp+ at andrew.cmu.edu
Mon Oct 8 07:30:00 AEST 1990
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
More information about the Comp.sys.sun
mailing list