I'm trying to install Bash on a FreeBSD 8.3 (pfSense 2.1.2) system as follows:
pkg_add -r http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/amd64/8.3-RELEASE/packages/Latest/bash.tbz
which is failing with throwing warnings that
pkg_add: warning: package 'bash-4.2.20' requires 'libiconv-1.13.1_2', but 'libiconv-1.14_1' is installed
pkg_add: warning: package 'bash-4.2.20' requires 'gettext-0.18.1.1', but 'gettext-0.18.3.1' is installed
I mentioned that it's a pfSense box but there's no Bash package available via the web frontend; is there an easy way forward or should I be looking into use a ports system?
Edit: it turns out that this was a non-fatal warning, and bash
successfully installed after all.
(Not tagged with pfsense as it's not a routing/firewall issue, but feel free to retag if this turns out to be pfsense-specific.)
This is a bit of a nasty one. Basically, pfSense 2.1.2 ships with newer versions of libiconv and gettext than those defined as dependencies for the FreeBSD 8.3-RELEASE bash package. As I see it, you have a few options (in order of effort):
bash-static
) - that should not have any dependencies on shared libraries so should install fine.