Web lists-archives.com

[Mingw-users] debugging DLL dependency issues


It seems that the 64-bit version of the gtkglext package is missing
something as we are unable to load one of the DLL it installs:

pacman -S mingw-w64-x86_64-gtkglext
python -c 'from ctypes import

fails with:
WindowsError: [Error 127] The specified procedure could not be found

The 32-bit version does not have this problem.
ldd doesn't show anything missing, depends.exe does show some problems
with libgdk_pixbuf - but I'm not sure I trust this ancient tool.
(and gdk_pixbuf is there of course)

* what is the best way to check that a DLL is valid and has all its
required dependencies installed? (I use python here but surely there is
a better way?)
* can I trace the DLL loading to see where it is failing?
* since this problem does not affect the 32-bit version, it is fair to
assume that something is going wrong during building / linking - are
there any specific gotchas to look for?


PS: MSYS2 is awesome!

Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
MinGW-users mailing list

This list observes the Etiquette found at 
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

You may change your MinGW Account Options or unsubscribe at:
Also: mailto:mingw-users-request@xxxxxxxxxxxxxxxxxxxxx?subject=unsubscribe