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 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 BR, Nicolas Dumont > > -aCaB > _______________________________________________ > http://lurker.clamav.net/list/clamav-devel.html > Please submit your patches to our Bugzilla: http://bugs.clamav.net > _______________________________________________ http://lurker.clamav.net/list/clamav-devel.html Please submit your patches to our Bugzilla: http://bugs.clamav.net