Diario

Tuesday, May 03, 2005

Clamd not complie in Tru64 Alpha Server (Solved)

I needed to upgrade Clamav-83 to 84 . After of do make, the clamav show me this error:

bclamav.a -lz -lbz2
__pthread _mutex_lock
___unlocpthread_mutexk
__pthread_cond_broadcast
__pthread_cond_wait
__pthread_mutex_destroy
__pthread_cond_destroy
pthread_attr_destroy
__pthread_mutex_init
__pthread_cond_init
pthread_attr_init
pthread_attr_setdetachstate
__pthread_cond_timedwait
__pthread_cond_signal
__pthread_create
pthread_sigmask
collect2: ld returned 1 exit statusmake[2]: *** [clamd] Error 1

From this URL:http://lists.roaringpenguin.com/pipermail/mimedefang/2001-December/008979.html
Said me: "You need POSIX threads to run Milter. Try adding -lpthread to the finallink line."

Ok. I add -lpthread in the last options

gcc -g -O2 -o clamd output.o cfgparser.o getopt.o memory.o misc.o options.o clamd.o tcpserver.o localserver.o session.o thrmgr.o server-th.o scanner.o others.o clamuko.o dazukoio_compat12.o dazukoio.o -L/usr/local/lib ../libclamav/.libs/libclamav.a -lz -lbz2

And it Worked.

0 Comments:

Post a Comment

<< Home