[Pkg-clamav-devel] build clamav with system LLVM
Scott Kitterman
debian at kitterman.com
Sun May 4 20:34:36 UTC 2014
On May 4, 2014 2:23:46 PM EDT, Andreas Cadhalpun <andreas.cadhalpun at googlemail.com> wrote:
>Hi,
>
>On 04.05.2014 19:07, Scott Kitterman wrote:
>> Also, I decided to try this out for Ubuntu (since it's early in their
>> development cycle) and it didn't go well:
>>
>>
>https://launchpadlibrarian.net/174540862/buildlog_ubuntu-utopic-i386.clamav_0.98.1%2Bdfsg-6_FAILEDTOBUILD.txt.gz
>>
>> Ubuntu doesn't use --as-needed, so it appears we're somewhat under
>linked at
>> the moment:
>
>I think you mean Ubuntu uses --as-needed?
Yes.
>> ../libclamav/.libs/libclamav.so: undefined reference to `setupterm'
>> ../libclamav/.libs/libclamav.so: undefined reference to `tigetnum'
>> ../libclamav/.libs/libclamav.so: undefined reference to `set_curterm'
>> ../libclamav/.libs/libclamav.so: undefined reference to `del_curterm'
>> collect2: error: ld returned 1 exit status
>
>I don't understand this error, as I can't find these symbols in the
>libclamav.so.6 built in Debian.
>I just tried rebuilding clamav with -Wl,--as-needed in LDFLAGS and it
>built fine.
Thanks.
Google gives some hints it might be llvm config related. Ubuntu has 3.4 by default already, so I'll try that later when I have time.
Scott K
More information about the Pkg-clamav-devel
mailing list