I am updating my Gentoo FreeBSD from 9.1 to 10.3. In the process, I was experiencing fails with dev-libs/libintl-perl-1.240.0-r2. It failed while ld was trying to find -liconv. In my /usr/lib, there was libiconv_std.* and libiconv_none.*, thus I had to make a link:
ln -s libiconv_std.so libiconv.so
After that it emerged OK.
I don't have dev-libs/libiconv as it blocks sys-freebsd/freebsd-ubin-10.3, sys-freebsd/freebsd-lib-10.3-r1.
Steps to Reproduce:
2.fail while not finding libiconv.so
(In reply to Mauricio L. Pilla from comment #0)
> I am updating my Gentoo FreeBSD from 9.1 to 10.3. In the process, I was
> experiencing fails with dev-libs/libintl-perl-1.240.0-r2. It failed while ld
> was trying to find -liconv.
Confirmed just now.
> In my /usr/lib, there was libiconv_std.* and
> libiconv_none.*, thus I had to make a link:
> ln -s libiconv_std.so libiconv.so
> After that it emerged OK.
If /lib/libiconv.so.* exists in your environment, it seems to try to link libiconv.
Please remove them when emerge -e @world is successful.
Because core component (bash,libarchive,etc...) is linked to libiconv,
please do not remove them before emerge -e @world is successful !
ebuild libintl-perl-1.240.0-r2.ebuild prepare
gsed -i 's: -liconv::' /var/tmp/portage/dev-perl/libintl-perl-1.240.0-r2/work/libintl-perl-1.24/gettext_xs/Makefile.PL
ebuild libintl-perl-1.240.0-r2.ebuild merge
> I don't have dev-libs/libiconv as it blocks sys-freebsd/freebsd-ubin-10.3,
10.0 or later, the system has a iconv.
libiconv is not required.
> Reproducible: Always
> Steps to Reproduce:
> 1.emerge dev-perl/libintl-perl
> 2.fail while not finding libiconv.so
> Actual Results:
> Not emerged.
> Expected Results:
> Package emerged.
Thanks again, I am in the process of emerge -e @world.
If a build log from this failing can be provided (or a newer version, preferably), maybe perl team can lend a hand?
Otherwise it looks a fair bit like, bug #648350 in possibly having some discrepancy between "configure" phase.
*-fbsd is gone.