waterlan schreef op 2015-11-25 21:46:
> Hi,
> 
> I have a working installation of msys2 mingw64 with gcc 4.9 in
> C:/msys2/msys64/. I wanted to try out gcc 5.2, but keep my installation
> with gcc 4.9. So I created a new parallel installation under
> C:/msys2/msys64_gcc5/.
> 
> When I run msgfmt I get the following error message:
> $ msgfmt
> C:/msys2/msys64_gcc5/mingw64/bin/msgfmt.exe: error while loading shared
> libraries: libgettextlib-0-19-6.dll: cannot open shared object file: No
> such file or directory
> 
> I don't understand why I get this message. msgfmt is itself from the
> gettext package. libgettextlib-0-19-6.dll is installed.
> 
> $ ls -l /mingw64/bin/libgettextlib-0-19-6.dll
> -rwxr-xr-x 1 waterlan Geen 1835891 15 sep 11:37
> /mingw64/bin/libgettextlib-0-19-6.dll
> $ ls -l C:/msys2/msys64_gcc5/mingw64/bin/libgettextlib-0-19-6.dll
> -rwxr-xr-x 1 waterlan Geen 1835891 15 sep 11:37
> C:/msys2/msys64_gcc5/mingw64/bin/libgettextlib-0-19-6.dll
> 
> How can I fix my problem?

The solution was to install mingw-w64-x86_64-expat.

I had the same problem in mingw32_shell, and there the error message was 
even more cryptic:

C:/msys2/msys64_gcc5/mingw32/bin/msgfmt.exe: error while loading shared 
libraries: ?: cannot open shared object file: No such file or directory

Also here the solution was to install mingw-w64-i686-expat.

I think there is a package dependency missing, which caused this 
problem.

best regards,

-- 
Erwin Waterlander
http://waterlan.home.xs4all.nl/

------------------------------------------------------------------------------
_______________________________________________
Msys2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to