amd64/177760: circular dependency with libiconv/gettext

Will Foster (sadsfae) sadsfae at
Wed Apr 10 18:30:01 UTC 2013

>Number:         177760
>Category:       amd64
>Synopsis:       circular dependency with libiconv/gettext
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-amd64
>State:          open
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 10 18:30:00 UTC 2013
>Originator:     Will Foster (sadsfae)
>Release:        9.1-RELEASE
FreeBSD 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec  4 09:23:10 UTC 2012     root at  amd64
When following the UPDATING.txt instructions up to or prior to 20130316 (my ports were dated 2014-02-25) the following error occurs -after- removal of gettext and during the build of libiconv.

Shared object "" not found, required by "sed" 

# pkg delete -f devel/gettext (goes ok)
# portmaster converters/libiconv devel/gettext (libiconv build fails to error above)

Because devel/gettext is removed the system is left unusable for many applications.  In my case I simply restored from ZFS root snapshot to troubleshoot various approaches with help from folks in the FreeBSD forums.

The only make config option set for converters/libiconv was [x] Encodings: Include extra character sets

Full details are here:

>From ports dated prior or up to 20130316 attempt to follow /usr/ports/UPDATING.txt instructions where libiconv now handles the lib/charset.alias file instead of devel/gettext:

# pkg delete -f devel/gettext
# portmaster converters/libiconv devel/gettext

Removal of devel/gettext port removes the library "/usr/local/lib/" which is needed by sed during the build of libiconv.

To workaround this issue the following needs to be done:

# cp /usr/local/lib/ /usr/local/lib/
# pkg delete -f devel/gettext
# cp /usr/local/lib/ /usr/local/lib/
# portmaster converters/libiconv devel/gettext


More information about the freebsd-amd64 mailing list