This is a known problem with the MinGW gettext
package. Keith Marshall, the "keith" in question, explains a bit about what's going on in a bug report on the MinGW SourceForge site.
A rather ugly workaround is to actually create a /home/keith/staged/mingw32
folder, then add symlinks to the necessary folders in /mingw
, i.e.:
mkdir -p /home/keith/staged/mingw32
cd $_
ln -s /mingw/bin bin
ln -s /mingw/lib lib
(Note that if /mingw
doesn't exist in your filesystem, you can create it by adding this line to the bottom of /etc/fstab
:
C:/MinGW /mingw
assuming, of course, you have MingW installed in C:\MinGW
. Close the terminal window and re-run msys.bat
for the change to take effect.)
You'll then need to download libiconv.la
from a person who has conveniently prepared the file, and copy it to /home/keith/staged/mingw32/lib/
.
It's a terrible hack, but it worked for me.