Skip to content. | Skip to navigation

Sections
Personal tools

"libintl.so.5" not found

Getting something like "/usr/libexec/ld-elf.so.1: Shared object 'libintl.so.5' not found" when trying to build something? Here's a suggestion (and explanation).

This usually happens after upgrading the devel/gettext port (which probably occurred via a dependency when updating another port).

The failing port is trying to link to the old version of gettext. This is where the handy utility portupgrade comes into play (it's in the ports collection under /sysutils/portupgrade').

The solution is to force the upgrade of the already currently installed version of gettext (by using the -f option) and doing the upgrade recursively (by using the -r option).

Give it a try and good luck ;-)

Outdated Information
Please note that most of the information contained in this section is several years old and while most of it is still useful, hardly none of it applies directly to current versions of the software discussed. Proceed with caution, your mileage may vary etc. pp. ;-)