[Pkg-clamav-devel] build clamav with system LLVM
Andreas Cadhalpun
andreas.cadhalpun at googlemail.com
Sun May 4 18:23:46 UTC 2014
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?
> ../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.
Best regards,
Andreas
More information about the Pkg-clamav-devel
mailing list