I've tried, but fails with another error

Making cpan/cpanm/cpanp use a modified Makefile.PL may be tricky.
I can still see (in the output you posted):
Warning (mostly harmless): No library found for -lcrypto Warning (mostly harmless): No library found for -lssl
Those warnings will come form the original Makefile.PL, but you won't get them if the Makefile.PL is amended as I indicated.

One way is to cd to the directory of a previous cpan build and:
1) run dmake realclean
2) amend the Makefile.PL
3) run perl Makefile.PL
4) run dmake test
5) run dmake install

Updates follow:
Step 4 is not really necessary - but it's a good idea to check that the tests pass.

I thought that the cpan output would indicate the location of the build directory, but I don't see it in the output you posted.
But the output you posted seems to be corrupted, so I checked the output that *I* get on my machine ... and I still don't see that information being presented.

It seems that your cpan builds are being done in C:\STRAWB~1\cpan\build - so look for a Crypt-OpenSSL-PBKDF2-0.04-xxxxxx directory in that folder.

Cheers,
Rob

In reply to Re^3: How to install libssl-dev for Strawberry Perl on Windows by syphilis
in thread How to install libssl-dev for Strawberry Perl on Windows by dafunk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.