Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 296330 - app-antivirus/clamav-0.95.3: clamav bins fail to load because of libltdl dependency
Summary: app-antivirus/clamav-0.95.3: clamav bins fail to load because of libltdl depe...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-09 16:54 UTC by Shinkan
Modified: 2009-12-28 21:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 :)