If I ldd gettext.xs.dll, I find it has some unknown unresolved references
I don't understand the ldd output, but yours looks pretty normal compared to other 64-bit strawberry xs.dlls that are not troublesome.
For example, for lib/auto/Win32/Win32.xs.dll, I'm seeing:
$ ldd.exe lib/auto/Win32/Win32.xs.dll
ntdll.dll => /c/Windows/SYSTEM32/ntdll.dll (0x76db0000)
kernel32.dll => /c/Windows/system32/kernel32.dll (0x76c90000)
KERNELBASE.dll => /c/Windows/system32/KERNELBASE.dll (0x7fefc9
+d0000)
??? => ??? (0x64cc0000)
What's the error message you're seeing when gettext.xs.dll fails to load ? (It's likely not very helpful ... but worth a try.)
Are there any pop-ups associated with the failure ? If so, what message so they provide ?
When I want to build an import library from a dll, I start with gendef.exe (which ships with strawberry) and use it to create a def file:
gendef -a mydll.dll
then, using the generated mydll.def:
dlltool --kill-at --input-def mydll.def --output-lib libmydll.a
I don't know if that is what you need, or if it will provide better mileage than
VinsWorldcom's method using pexports.
If you're using MSYS2 dlls, you'll want the ones that are in the mingw64\bin - and then you might as well just use the associated import lib (.dll.a) in the mingw64\lib folder.
The mingw64\lib folder also probably provides static (.a) libs if you want to avoid the dll dependency.
Cheers,
Rob
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.