On Mon, Mar 11, 2002 at 04:13:51PM -0800, Guy Harris wrote:
> On Tue, Mar 12, 2002 at 11:08:59AM +1100, HOOD, Andy wrote:
> > I roll my own. The example was on Solaris/SPARC 2.6
> > autoconf 2.52
> > automake 1.5
> > gcc 3.0.1
> > ethereal 0.9.1
> 
> So what does "ldd ethereal" report?
> 
> What does the Makefile used when you build Ethereal link with?  "-lz"?
> 
> Are you using the Solaris linker, or the GNU linker?

"ldd ethereal" on the Solaris 8/SPARC system I use at work says:

        cranford$ ldd ./ethereal
                libgtk-1.2.so.0 =>       /usr/local/lib/libgtk-1.2.so.0

                        ...

                libz.so =>       /usr/local/lib/libz.so
                libc.so.1 =>     /usr/lib/libc.so.1

                        ...

And the "libz"s we have in "/usr/loca/lib" are:

cranford$ ls -l /usr/local/lib/libz* 
-rwxr-xr-x   1 root     engr       70976 Feb  3  2000 /usr/local/lib/libz.a
lrwxrwxrwx   1 root     engr          13 Feb  3  2000 /usr/local/lib/libz.so -> 
libz.so.1.1.3
lrwxrwxrwx   1 root     engr          13 Feb  3  2000 /usr/local/lib/libz.so.1 -> 
libz.so.1.1.3
-rwxr-xr-x   1 mlewin   engr       68712 Sep 21  1998 /usr/local/lib/libz.so.1.1.3

but it's linked with "libz.so", not "libz.so.1.1.3".  (I don't know why
it's linked with "libz.so" rather than "libz.so.1", as it's linked with
sonames rather than linker names in other cases.)


Reply via email to