in reply to Detect which version of perl an XS module is linked against?
Since this is a windows error, you need to determine which version of perl an XS module was linked against without loading it. Anyone have any ideas on how this might be accomplished?
MSVC (2005):
> dumpbin /dependents MD5.dll [snip] Image has the following dependencies: perl510.dll KERNEL32.dll msvcrt.dll [snip]
I saw a web page suggesting there may have been a "depends.exe" in some other version.
MinGW (e.g. Strawberry Perl) and assuming you have grep for brevity:
> objdump -x MD5.dll | grep "DLL Name" DLL Name: perl510.dll DLL Name: KERNEL32.dll DLL Name: msvcrt.dll
-xdg
Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.
|
|---|