Re: [Clamav-devel] [Clamav] Cannot dlopen: file not found - …

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: aCaB
Date:  
To: ClamAV Development
Subject: Re: [Clamav-devel] [Clamav] Cannot dlopen: file not found - unrar support unavailable
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 following lines :
> LDADD += ${CLAMDIR}/libclamav/.libs/libclamav.a
> LDADD += ${CLAMDIR}/libclamunrar_iface/.libs/libclamunrar_iface.a
> LDADD += ${CLAMDIR}/libclamunrar/.libs/libclamunrar.a
> LDADD += -lz
> LDADD += -lbz2
>
> But, with clamav-0.95, it's not enough to have the unrar functions
> available.
>
> How can I do, If I want to have libclamunrar included in my daemon ?
> I don't want to have the libclamunrar separated from my binary


Hi nicolas dumont,
You are clearly doing it wrong.

Please provide a link to the full source code and, when time permits, i
can see what's wrong and possibly offer a complete patch.

-aCaB

_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net