Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 296330

Summary: app-antivirus/clamav-0.95.3: clamav bins fail to load because of libltdl dependency
Product: Gentoo Linux Reporter: Shinkan <shinkan>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Shinkan 2009-12-09 16:54:48 UTC
Hi everyone,

Having setup clamav-0.95.3 on a Gentoo Linux system with custom system set which has no libtool, clamd or freshclam fail to start because they don't find 'libltdl.so.7'.
For the record, I just use emerge with --root parameter to setup my system on a specified target dir.

This library seems to be brought by libtool.
But clamav doesn't depend on libtool.
Clamav config have a '--with-included-ltdl' parameter which could resolve this problem, because making clamav depends on libtool would probably be dirty.

If we try to start clamav (/etc/initd.d/clamd start), clamd and freshclam fails because they don't find libltdl.so.7.
ldd shows that libltdl is not found.

A solution would be to add "ltdl" USE flag, which would add '--with-included-ltdl' to clamav config.


Reproducible: Always

Steps to Reproduce:
1. Emerge clamav on a system without libtool.
2. Starts clamd or freshclam.

Actual Results:  
Clamd and freshclam fail to start.
A message notices us that libltdl.so.7 is not found.

Expected Results:  
Clamd and freshclam would launch.
Comment 1 Patrick Lauer gentoo-dev 2009-12-28 21:19:59 UTC
mmh, guess why it is part of system set :)