Building ClamAV on AIX

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

In order to avoid the .iconv_close symbol not found error that looks like
this

ld: 0711-317 ERROR: Undefined symbol: .iconv_close
ld: 0711-317 ERROR: Undefined symbol: .iconv_open
ld: 0711-317 ERROR: Undefined symbol: .iconv

as documented at

"http://www.gossamer-threads.com/lists/engine ?
do=post_view_printable;post=32827;list=clamav"

when trying to build clamav on AIX 5.x, you need to include the library
in the configure like this:

LIBS=-liconv ./configure --prefix=/opt/clamav

because autoconf messes up the libraries required in the link stage.  
iconv is already in the base OS; you don't need to install an open source
one.

I wanted to document this somewhere public, but I don't really want to
join the clamav mailing lists, nor do I want to jump through hoops to get
this out there.

Cheers,
Mario


Site Timeline