Re: Clamav-90_2 Lockup with freebsd 6.2



Was this indeed compiled with pthread or with lpthread?

I had this issue on a 4.11-RELEASE machine very recently. As it does not have lpthread, it would fail to compile against this.

Martin Blapp wrote:

Hi,

Change the threading lib. It fixed it for us.

% cat /etc/libmap.conf
[clamd]
libc_r.so.5 libthr.so.2
libc_r.so.6 libthr.so.2
libthr.so.2 libthr.so.2
libpthread.so.1 libthr.so.2
libpthread.so.2 libthr.so.2

Even with libthr the CPU usage is still far too high ...
I'm currently looking at the code.

Martin
_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"

_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • SYSTEM V shared memory doesnt go with pthread?
    ... i have simple application which has system V shared memory. ... put the -lpthread option in Makefile, and compile it. ... when the program access the shared memory area, ... i didn't do any thing with pthread, ...
    (comp.unix.programmer)
  • Re: SYSTEM V shared memory doesnt go with pthread?
    ... > i have simple application which has system V shared memory. ... > put the -lpthread option in Makefile, and compile it. ... > when the program access the shared memory area, ... i didn't do any thing with pthread, ...
    (comp.unix.programmer)
  • Re: SYSTEM V shared memory doesnt go with pthread?
    ... > put the -lpthread option in Makefile, and compile it. ... i didn't do any thing with pthread, ... It is most likely that your program contains a bug, ... In order to understand recursion you must first understand recursion. ...
    (comp.unix.programmer)
  • I cant compile a pthread related source
    ... My system enviroment is same as below. ... I can't compile my source that use pthread. ... unrecognized compiler. ...
    (comp.unix.tru64)