Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#45 Package mingw-w64-x86_64-libgpg-error doesn't name installed dll correctly

2.0
closed
Alexx83
None
2014-06-18
2014-06-17
Shane Peelar
No

Package mingw-w64-x86_64-libgcrypt depends on package mingw-w64-x86_64-libgpg-error, which installs its dll to /mingw64/bin/libgpg-error-0.dll:

pacman -Ql mingw-w64-x86_64-libgpg-error
...
mingw-w64-x86_64-libgpg-error /mingw64/bin/libgpg-error-0.dll
...

However the library installed by package mingw-w64-x86_64-libgcrypt (to /mingw64/bin/libgcrypt-20.dll) links to libgpg-error6-0.dll:

objdump -x /mingw64/bin/libgcrypt-20.dll | grep DLL
DLL
vma: Hint Time Forward DLL First
DLL Name: ADVAPI32.dll
DLL Name: KERNEL32.dll
DLL Name: msvcrt.dll
DLL Name: USER32.dll
DLL Name: libgpg-error6-0.dll

I ran into issues loading a library that depended on libgcrypt with an error of the following structure:

error while loading shared libraries: ?: cannot open shared object file: No such file or directory (the ? was actually present in the output)

but strace on the executable showed that the error was in fact the misnamed libgpg-error-0.dll

On my system, this was resolved easily by copying libgpg-error6-0.dll to libgpg-error-0.dll in /mingw64/bin/.

If there is any more information you need please let me know.

Discussion

  • Alexx83
    Alexx83
    2014-06-18

    • status: open --> closed
    • assigned_to: Alexx83
     
  • Alexx83
    Alexx83
    2014-06-18

    Thanks for report!
    Now fixed. Try update packages.

     
  • Shane Peelar
    Shane Peelar
    2014-06-18

    Confirmed, it works! Thank you