Re: [Clamav-devel] [Clamav] Cannot dlopen: file not found - unrar support unavailable

2009-03-25 Thread Eugene Crosser
Ladar Levison wrote: > Eugene Crosser wrote: >> I suspect that this may break on AMD64. It's more picky about PIC/non-PIC >> code >> (no pun intended), attempt to link objects from .a into .so often fails. >> > > I haven't tested this method on any AMD64 servers, but it wouldn't > surprise if

Re: [Clamav-devel] [Clamav] Cannot dlopen: file not found - unrar support unavailable

2009-03-25 Thread Ladar Levison
Eugene Crosser wrote: > I suspect that this may break on AMD64. It's more picky about PIC/non-PIC code > (no pun intended), attempt to link objects from .a into .so often fails. > I haven't tested this method on any AMD64 servers, but it wouldn't surprise if you were right. When I tried using

Re: [Clamav-devel] [Clamav] Cannot dlopen: file not found - unrar support unavailable

2009-03-25 Thread Eugene Crosser
Ladar Levison wrote: > I then merge together the different ClamAV libs using this command: > > ld -shared -o clamav.lib clamav-0.94.2/libclamav/.libs/libclamav.a > clamav-0.94.2/libclamunrar_iface/.libs/libclamunrar_iface.a > clamav-0.94.2/libclamunrar/.libs/libclamunrar.a -lbz2 -lgmp -lpthread

Re: [Clamav-devel] [Clamav] Cannot dlopen: file not found - unrar support unavailable

2009-03-25 Thread Ladar Levison
nicolas dumont wrote: > Hello, > > I am using clamav-0.95 with my own daemon that use libclamav > > During the initialization I have the message : > LibClamAV Warning: Cannot dlopen: file not found - unrar support unavailable > > I would like to link my daemon with the libclamunrar_iface.a and > l

Re: [Clamav-devel] Help to fix some code with new API

2009-03-25 Thread Renato Botelho
2009/3/25 Török Edwin : > On 2009-03-25 19:54, Renato Botelho wrote: >> On Wed, Mar 25, 2009 at 2:46 PM, Renato Botelho wrote: >> >>> On Wed, Mar 25, 2009 at 2:14 PM, Gianluigi Tiesi wrote: >>> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Renato Botelho wrote: > Hell

Re: [Clamav-devel] Help to fix some code with new API

2009-03-25 Thread Renato Botelho
On Wed, Mar 25, 2009 at 3:24 PM, Tomasz Kojm wrote: > On Wed Mar 25 2009 19:11:36 GMT+0100 (CET) > Renato Botelho wrote: > >> And about the way I did the changes, is it ok? > > Yes, generally the changes look OK (however without complete source > files I can't say there are no memleaks when some

Re: [Clamav-devel] Help to fix some code with new API

2009-03-25 Thread Török Edwin
On 2009-03-25 19:54, Renato Botelho wrote: > On Wed, Mar 25, 2009 at 2:46 PM, Renato Botelho wrote: > >> On Wed, Mar 25, 2009 at 2:14 PM, Gianluigi Tiesi wrote: >> >>> -BEGIN PGP SIGNED MESSAGE- >>> Hash: SHA1 >>> >>> Renato Botelho wrote: >>> Hello, I want t

Re: [Clamav-devel] Help to fix some code with new API

2009-03-25 Thread Tomasz Kojm
On Wed Mar 25 2009 19:11:36 GMT+0100 (CET) Renato Botelho wrote: > And about the way I did the changes, is it ok? Yes, generally the changes look OK (however without complete source files I can't say there are no memleaks when some exceptions get raised, etc.), but you should make some real worl

Re: [Clamav-devel] Help to fix some code with new API

2009-03-25 Thread Renato Botelho
On Wed, Mar 25, 2009 at 3:07 PM, Tomasz Kojm wrote: > On Wed Mar 25 2009 19:05:13 GMT+0100 (CET) > Renato Botelho wrote: > >> And for the other one: >>     cfg->maxfiles = 100; > > Setting maxfiles to such a low value is not a good idea. I'm just trying to fix a third part program to use new API

Re: [Clamav-devel] Help to fix some code with new API

2009-03-25 Thread Tomasz Kojm
On Wed Mar 25 2009 19:05:13 GMT+0100 (CET) Renato Botelho wrote: > And for the other one: > cfg->maxfiles = 100; Setting maxfiles to such a low value is not a good idea. -- oo. Tomasz Kojm (\/)\. http://www.ClamAV.net/gpg/tkojm.gpg \..._

Re: [Clamav-devel] Help to fix some code with new API

2009-03-25 Thread Renato Botelho
On Wed, Mar 25, 2009 at 2:14 PM, Gianluigi Tiesi wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Renato Botelho wrote: >> Hello, >> >> I want to update clamav to 0.95 on FreeBSD ports collection, but, >> before it I need to have all dependant ports working fine. >> >> I've contacted s

[Clamav-devel] Some Projects Missing from ClamAV Windows Source tree

2009-03-25 Thread Deepak Gupta
All, I know support for Windows ClamAV has been stopped. But still I was able to find a download link for Windows ClamAV Sources. I want to add some more functionality into it by adding some driver components (I will be releasing it under GPL, don't worry). Problem that I am seeing is that I see

Re: [Clamav-devel] Help to fix some code with new API

2009-03-25 Thread Renato Botelho
On Wed, Mar 25, 2009 at 2:46 PM, Renato Botelho wrote: > On Wed, Mar 25, 2009 at 2:14 PM, Gianluigi Tiesi wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Renato Botelho wrote: >>> Hello, >>> >>> I want to update clamav to 0.95 on FreeBSD ports collection, but, >>> before it I nee

Re: [Clamav-devel] Help to fix some code with new API

2009-03-25 Thread Renato Botelho
On Wed, Mar 25, 2009 at 2:14 PM, Gianluigi Tiesi wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Renato Botelho wrote: >> Hello, >> >> I want to update clamav to 0.95 on FreeBSD ports collection, but, >> before it I need to have all dependant ports working fine. >> >> I've contacted s

Re: [Clamav-devel] Help to fix some code with new API

2009-03-25 Thread Gianluigi Tiesi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Renato Botelho wrote: > Hello, > > I want to update clamav to 0.95 on FreeBSD ports collection, but, > before it I need to have all dependant ports working fine. > > I've contacted some maintainers / authors and got fixes, but, there > are 2 of them

[Clamav-devel] Help to fix some code with new API

2009-03-25 Thread Renato Botelho
Hello, I want to update clamav to 0.95 on FreeBSD ports collection, but, before it I need to have all dependant ports working fine. I've contacted some maintainers / authors and got fixes, but, there are 2 of them missing and I tried to fix it by myself. Could anyone take a look at those patches

[Clamav-devel] [clamav-devel] Misunderstand Clamav recursive scan

2009-03-25 Thread Husam Muhammad
Hello. I'm using Clamav and improving Clamav for my final exams. Actually i very need you all help for my misunderstanding of clamscan scandir() algorithm. The matther that, in my Clamav-like application, if it have been running until +- 5 minutes, it is going to system hang and all process on my

Re: [Clamav-devel] [Clamav] Cannot dlopen: file not found - unrar support unavailable

2009-03-25 Thread nicolas dumont
I'm sorry if I'm not enough clear of what I want to do. I just want to have the unpacked RAR files feature available in my binary without loading separatly the library libclamunrar_iface.a that you provided in the clamav-0.95.tar.gz BR, Nicolas Dumont. 2009/3/25 aCaB > nicolas dumont wrote: >

Re: [Clamav-devel] [Clamav] Cannot dlopen: file not found - unrar support unavailable

2009-03-25 Thread aCaB
nicolas dumont wrote: > I've developped a small daemon in order to do the initialization of > libclamav and load the database. Then I am able to answer to SCAN messages. > So, in order to compile my .c files I have a small Makefile. > > And in my makefile, for clamav-0.94.2 I had added the followi

Re: [Clamav-devel] [Clamav] Cannot dlopen: file not found - unrar support unavailable

2009-03-25 Thread nicolas dumont
2009/3/25 aCaB > nicolas dumont wrote: > > Is there a way in my Makefile or elsewhere to have the libclamunrar > > directly called > > inside my binary without modifying the call to > > lt_dlopenext("libclamunrar_iface") ? > > > Your Makefile? Where is it? > I've developped a small daemon in ord

Re: [Clamav-devel] [Clamav] Cannot dlopen: file not found - unrar support unavailable

2009-03-25 Thread aCaB
nicolas dumont wrote: > Is there a way in my Makefile or elsewhere to have the libclamunrar > directly called > inside my binary without modifying the call to > lt_dlopenext("libclamunrar_iface") ? Your Makefile? Where is it? -aCaB ___ http://lurker.cl

[Clamav-devel] [Clamav] Cannot dlopen: file not found - unrar support unavailable

2009-03-25 Thread nicolas dumont
Hello, I am using clamav-0.95 with my own daemon that use libclamav During the initialization I have the message : LibClamAV Warning: Cannot dlopen: file not found - unrar support unavailable I would like to link my daemon with the libclamunrar_iface.a and libclamunrar.a in order to have all lib