Date: Thu, 16 Jan 2014 11:21:08 -0200 From: Marcelo Gondim <gondim@bsdinfo.com.br> To: freebsd-ports-bugs@freebsd.org Subject: Re: FreeBSD 10.0 - clamav problem with iconv Message-ID: <52D7DCC4.5060700@bsdinfo.com.br> In-Reply-To: <52D7D602.2060500@bsdinfo.com.br> References: <52D7D602.2060500@bsdinfo.com.br>
next in thread | previous in thread | raw e-mail | index | archive | help
Em 16/01/14 07:22, Guido Falsi escreveu: > On 01/16/14 08:46, Marcelo Gondim wrote: >> Hi all, >> >> I'm having trouble compiling security/clamav with iconv checked on >> FreeBSD 10.0. >> Looks like he's not trying to use iconv in base system. > > Hi, Usually this has to do with old *.la files laying around in > /usr/local/lib. > > Those files tend to retain old information, you should check if you > have any *.la file referencing "-liconv" and rebuild the relevant > port. You can use find, grep and 'pkg info' to do that. > > I also cooked up a pipe to perform the deed, I posted it to ports@ a > while ago...Here, you can try this (YMMV): > > find /usr/local/lib -name '*.la' -exec grep -qi iconv {} \; -print | > xargs -n 1 pkg which -oq | sort -u > > and recompile/reinstall ports reported by it. > Yes!!! Thanks Guido. I removed this files and all works. /usr/local/lib/libiconv.a /usr/local/lib/libiconv.la /usr/local/lib/libiconv.so.3 Cheers, Gondim
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52D7DCC4.5060700>