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

Bug 67958

Summary: clamav-0.80: symbol lookup error: clamd: undefined symbol: cl_build
Product: Gentoo Linux Reporter: Daniel Kasak <dkasak>
Component: Current packagesAssignee: Net-Mail Packages <net-mail+disabled>
Status: RESOLVED WORKSFORME    
Severity: normal CC: antivirus, rmarcano
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Daniel Kasak 2004-10-17 18:04:56 UTC
I emerged clamav-0.80 ( CFLAGS -march=athlon-xp -pipe -O3 ) and when I try to start it, I get:

clamd: symbol lookup error: clamd: undefined symbol: cl_build

and the clamd process doesn't start.

Reproducible: Always
Steps to Reproduce:
1. emerge clamav-0.80
2. comment out 'example' line in config file so clamav will start
3. /etc/init.d/clamav start

Actual Results:  
clamd: symbol lookup error: clamd: undefined symbol: cl_build

Expected Results:  
clamav starts

Portage 2.0.50-r11 (default-x86-1.4, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.4.16
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X arts avi berkdb bitmap-fonts cdr crypt cups directfb encode esd f77
fam foomaticdb freetds gd gif gnome gpm gtk gtk2 imap imlib innodb java jpeg
ldap libg++ libwww mad maildir mikmod mmx motif mozilla mpeg mssql mysql ncurses
nls odbc oggvorbis opengl oss pam pdflib perl php png postgres python qt
quicktime readline ruby sasl sdl slang spell sse ssl svga tcltk tcpd tetex
truetype x86 xfs xml2 xmms xprint xv zip zlib"
Comment 1 Andrej Kacian (RETIRED) gentoo-dev 2004-10-17 23:37:26 UTC
I cannot reproduce this, sorry. Tried compiling with both gcc-3.4.2 and 3.3.4 and all binaries installed by clamav work.

Idea, anyone?
Comment 2 Andrej Kacian (RETIRED) gentoo-dev 2004-10-17 23:38:08 UTC
CCing antivirus@
Comment 3 Andrej Kacian (RETIRED) gentoo-dev 2004-10-22 17:17:59 UTC
Just a wild shot here, but could you try emerging without ccache in FEATURES?
Comment 4 Andrej Kacian (RETIRED) gentoo-dev 2004-12-24 05:53:20 UTC
Please reopen if this is still an issue.