Re: zlib on Solaris?

From: Casper Dik (Casper.Dik@Sun.COM)
Date: 03/16/02


To: Kalle Andersson <kan@virus112.com>
Date: Sat, 16 Mar 2002 10:37:17 +0100
From: Casper Dik <Casper.Dik@Sun.COM>


>Hi All,
>
>Quick question, any info on if zlib can or can't cause problem on a solaris
>system?
>I haven't been able to find a yes or no on that question, just that the
>problem is primarily on Linux.

We can't be 100% sure, but one redeeming factor might be that Solaris
standard malloc() has several checks that prevent thing to get onto the
freelist twice.

Several zlibs are shipped as part of Solaris:

        /usr/openwin/bin/libz.so.1 (Solaris 7, ever since LBX support)

        /usr/lib/{sparcv9/,}libz.so.1 (Solaris 8, standard zlib)
        /usr/openwin/bin/libXz.so.1 (Solaris 8, zlib for X because it
                                         was uncertain /usr/lib/libz would
                                         make Solaris 8 until too close to
                                         the release date)

Without the code that triggers the problem, it is hard to be sure that
the sequence of badfrees is harmless in Solaris.

Casper



Relevant Pages

  • Re: SSH daemon
    ... |>Solaris 8 on Intel does have zlib, but when I try to build software ... I get a ton of unreferenced symbols that Sun's zlib wants to ... unreferenced symbols when building Python 2.2 on Solaris x86 8 with ...
    (comp.security.ssh)
  • Re: zlib on Solaris?
    ... > Subject: zlib on Solaris? ... at our site we've decided that stuff like openssl will get rebuild ... > Best Regards ...
    (Focus-SUN)
  • Re: SSH daemon
    ... [[PLEASE DON'T SEND ME EMAIL COPIES OF POSTINGS]] ... >Solaris 8 on Intel does have zlib, but when I try to build software ... I get a ton of unreferenced symbols that Sun's zlib wants to ... to opinions held by my employer, Sun Microsystems. ...
    (comp.security.ssh)
  • Re: zlib on Solaris?
    ... any info on if zlib can or can't cause problem on a solaris ... any programs on any platforms yet, but that doesn't mean there wont be... ...
    (Focus-SUN)
  • Re: SSH daemon
    ... There's are precious few symbols needed by zlib as shipped ... and since zlib includes a dependency on libc.so.1 ... >Is this true when using gcc on Solaris as well? ... -- [Do NOT email-CC me on posts. ...
    (comp.security.ssh)