home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!auspex-gw!guy
- From: guy@Auspex.COM (Guy Harris)
- Newsgroups: comp.sys.sun.wanted
- Subject: Re: Special Promotion - SPARCclassics for HOME
- Message-ID: <16145@auspex-gw.auspex.com>
- Date: 30 Dec 92 05:09:17 GMT
- References: <1992Dec28.213515.23327@informix.com> <1992Dec30.031352.7746@cbnewse.cb.att.com>
- Sender: news@auspex-gw.auspex.com
- Organization: Auspex Systems, Santa Clara
- Lines: 18
- Nntp-Posting-Host: auspex.auspex.com
-
- >Would someone elaborate on this? We haven't upgraded to Solaris 2.*,
- >yet, but I wasn't aware that some application binaries from 4.1.* wouldn't
- >work! Is this true? What's the problem?
-
- bootme$ ldd /corp/apps/share/frame.3.0.x/bin/bin.sun4/maker3X.exe
- /corp/apps/share/frame.3.0.x/bin/bin.sun4/maker3X.exe: statically linked
-
- As it's statically linked, it won't work on 5.x - being statically
- linked, it has the library routines that it calls bound into its
- executable image, which means that when it tries to execute a system
- call, it does a trap into the kernel; unfortunately, the 5.x kernel
- doesn't understand most 4.x system calls, so it blows up.
-
- Had it been dynamically linked with "libc", it would have executed code
- from the "libc" shared library, rather than doing the trap itself; the
- code in the appropriate binary-compatibility shared library in 5.x makes
- system calls and other calls appropriate when running under a 5.x
- kernel, so it is more likely to work.
-