[prev in list] [next in list] [prev in thread] [next in thread] 

List:       clamav-devel
Subject:    Re: [Clamav-devel] One more FreeBSD user problem report
From:       nicolas dumont <nicolas.dumont.perso () gmail ! com>
Date:       2010-04-22 18:39:37
Message-ID: n2sa55c54ec1004221139pf2922e3ja1f09dda73912b23 () mail ! gmail ! com
[Download RAW message or body]

Hello Török

I don't link the lib libtool
and I'm linking with libclamav.a

I tried with -lstdc++ and it works !!!

Thank you very much !!

Best regards,
Nicolas Dumont.

2010/4/15 Török Edwin <edwintorok@gmail.com>

> On 04/15/2010 04:00 PM, nicolas dumont wrote:
>
>> 2010/4/15 Török Edwin<edwin@clamav.net>
>>
>>  On 04/15/2010 02:58 PM, nicolas dumont wrote:
>>>
>>>  Hello !
>>>>
>>>> I'm trying to compile clamav 0.96 on
>>>> FreeBSD 7.2 release
>>>> gcc 4.2.1
>>>>
>>>> and I have same kind of issue as Renato :
>>>>
>>>>
>>> This looks like a different issue, does GCC complain about an internal
>>> error for you?
>>>
>>
>>
>> It's not an internal error and the libclamav is correctly compiled.
>>
>> I've the errors when I try to link the libclamav with my own dameon ( same
>> way as for 0.95.3 )
>>
>
>
> Are you using libtool to link?
> If not are you trying to link with libclamav.a, or libclamav.so?
> If you're trying to link with libclamav.a you should add -lstdc++ to your
> linker command-line, or use libtool to link against libclamav.la (which
> will automatically add that).
> Its recommended however that you link your daemon against libclamav.so,
> then you don't need to rebuild it everytime libclamav is upgraded.
>
>
> Best regards,
> --Edwin
> _______________________________________________
> 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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic