I checked and I do not have those symbols. This issue with distributed 
Solaris 8 libbz2 not having the symbols was raised/exposed in 0.93 and I 
applied the patch/code changes provided on the 
clamav-users@lists.clamav.net list previously to fix it in 0.93, i.e.

[/usr/local/src/clamav-0.93] $ diff ./libclamav/unzip.c ./libcla
mav/unzip.c.orig
180,185d179
< #ifdef NOBZ2PREFIX
< #define BZ2_bzDecompressInit bzDecompressInit
< #define BZ2_bzDecompressEnd bzDecompressEnd
< #define BZ2_bzDecompress bzDecompress
< #endif
<

That code is NOT included in the 0.93.1RC1 tested, hence the error.

Now is that due to a ./configure error or actual code checked into (or 
not) for ./libclamav/unzip.c ... I leave that to the developers to fix. ;)

My point is just that RC1 does not include this fix and therefore is a 
no-go out of the box for Solaris 8 w/gcc.

Make sense? I'll include this response in the bugzilla ticket also to 
make things clearer.

- Jim

Stephen Gran wrote:
> On Thu, May 29, 2008 at 10:42:56AM -0400, Jim Carhart said:
>> Undefined                       first referenced
>>   symbol                             in file
>> BZ2_bzDecompress                    ../libclamav/.libs/libclamav.so
>> BZ2_bzDecompressEnd                 ../libclamav/.libs/libclamav.so
>> BZ2_bzDecompressInit                ../libclamav/.libs/libclamav.so
>>
>> [clamav-0.93.1rc1]# locate libbz2
>> /usr/lib/abi/abi_libbz2.so.1
>> /usr/lib/abi/sparcv9/abi_libbz2.so.1
>> /usr/lib/libbz2.so
>> /usr/lib/libbz2.so.1
>> /usr/lib/sparcv9/libbz2.so
>> /usr/lib/sparcv9/libbz2.so.1
> 
> grep BZ2_bzDecompress /usr/lib/abi/abi_libbz2.so.1 
> /usr/lib/abi/sparcv9/abi_libbz2.so.1 /usr/lib/libbz2.so /usr/lib/libbz2.so.1 
> /usr/lib/sparcv9/libbz2.so /usr/lib/sparcv9/libbz2.so.1
> 
> do you actually have the symbols?
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
> http://lurker.clamav.net/list/clamav-users.html
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to