The cat of Mogens Kjaer <[EMAIL PROTECTED]> wrote:

> # rpm -Uvh clamav-db-0.93-1.rf.i386.rpm clamav-0.93-1.rf.i386.rpm 
> clamd-0.93-1.rf.i386.rpm
> error: Failed dependencies:
>          libclamunrar_iface.so.3 is needed by clamav-0.93-1.rf.i386
> 
> The build process creates a libclamunrar_iface.so.4 which is included
> in the rpm.
> 
> Why does it require version 3?
> 
> I see no reference to libclamunrar_iface.so.3 anywhere in the sources.

On some older RH-like systems (RHEL3 and such), building it
with rpmbuild somehow requires/links in the older library.
(the actual problem may have occured earlier, but 0.92.1 uses 
 *.so.3 anyway)

I managed to "workaround" the problem by moving away the old libraries
during building;

<stop clamd>
rename libclam __libclam /usr/lib/libclam*3.0.4
rpmbuild -ba clamav.spec
rename __libclam libclam /usr/lib/__libclam*3.0.4
rpm -Fvh clam*0.93-1.rf.i386.rpm


BTW: The problem doesn't occur on CentOS 5 (RHEL5)

-- 
Bernt  'Burnie'  Pettersen  ///  DoD#2345     
<E-mail:[EMAIL PROTECTED]>     ///  <URL:http://burnie.sh/>
     - Why do all drivers shake their heads when we meet? -
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to