Ejaz,

On Mon, 28 Apr 2008, Ejaz wrote:

> Dear Richard,
>
> Yes your right, i did not find "BZ2_bzDecompress*"  in my solaris 8
> box, So is there any way we can install missing decompressors to
> resolve this problem, pleas your help is highly appreciated.
>
> Thanks in advance
>
>
> Following is output
>
> bash-2.03# nm /usr/lib/libbz2.so | grep -i bzdecompress
> [160]   |     36724|     464|FUNC |GLOB |0    |9      |bzDecompress
> [173]   |     37188|     172|FUNC |GLOB |0    |9      |bzDecompressEnd
> [158]   |     32656|     232|FUNC |GLOB |0    |9      |bzDecompressInit


>From my **very** limited understanding, I don't think there is anything
missing. It is just a matter of naming. From http://www.bzip.org/CHANGES,
for version 1.0

* Avoid library namespace pollution.  Prefix all exported
  symbols with BZ2_.

So I think the two names are equivalent. My **guess** is that Sun, in
their infinite wisdom, have modified their implementation of the library
to retain both sets of names, presumably in the interests of backward
compatibility.

If I'm right, then what you need to do is get ClamAV to use the non-BZ2_
versions, and the patch I suggested to libclamav/unzip.c should accomplish
that.

Of course, this is all unofficial. I guess one of us is going to have to
open a bug about it. Trouble is, I really don't think I've got the time at
the moment. I wish I had :-(

HTH,
 Richard



_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to