-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems packing freetype library #67
Comments
The call below seems to work. I ran objdump on all the .xs.dll files under the
|
@shawnlaffan thanks, you beat me to the punch @sciurius Note you probably have to modify the Just to explain the problem,
These are the "glue" DLLs produced when you built and installed, for example, I should plug here Shawn's https://github.com/shawnlaffan/perl-pp-autolink tool, that will do the work for you to (recursively) detect dependent shared libraries, locate them on your machine and construct the necessary |
pp-autolink had a bug where it was not scanning all the .xs.dll files on windows. It should be fixed in shawnlaffan/perl-pp-autolink@387fd97 which I'll upload to cpan tomorrow, and once I check the related logic for other operating systems (and update the CI). |
Hi Roderich and Shawn, I must admit I'm not familiar with Windows, I use it only occasionally to build releases of some of my software packages. PAR::Packer is a great help.
Puzzling... |
@sciurius Note that the problem is not specific to Windows, i.e. |
Hmm. Apparently |
It needs the
That would likely help with the above case. Patches welcome. |
Speaking of patches, this is something I severely miss at times:
Rationale: I have options files that contain library links, eg.
and I would rather have the physical location and version abstracted out, eg.
This is easier to maintain. |
BTW, is it normal that I have to disable Windows Defender to run pp?
|
I've seen several times that some packed executables trigger malware signatures (in your case of |
Hence the question: Is it normal? Apparently it is... |
Done in 20d5707 - I didn't even know about this parameter. |
PAR::Packer 1.056, PAR 1.017, Strawberry 5.30.2, Windows10
I have a program that uses Imager. Imager demand loads backends for writing PNG files and font handling. It works fine when packed but other users reported problems with the font handling.
I've boiled it down to a small test program borrowed from the Imager tutorial (see below). I use the following pp settings:
At least one user reports problems similar to
Inspection shows that the generated
exe does not include 'libfreetype-6__.dll`but I'm not sure that is relevant.
The attached zip contains the sample program, and associated files, plus the generated binary.
prog.zip
The text was updated successfully, but these errors were encountered: