tmaly has asked for the wisdom of the Perl Monks concerning the following question:
Monks
Here is some background on my problem. OS: XP Perl: strawberry perl 5.8.8. I do not have admin access to my windows machine so I am unable to install openssl for Crypt::SSLeay in the proper fashion such that the dll files are copied to the system directory. I cannot change the system variables such as path on windows.
I am however able to place the dll files and source in a folder such as C:\openssl. I make sure to have the proper include directory set as stated in http://www.perlmonks.org/?node_id=692574
I am manually installing Crypt::SSLeay from the commandline using perl Makefile.PL and dmake test. I set it to perform the live test as one of the options Makefile.PL asks if you want to do.
The SSLeay.dll is created without any problems. However upon testing I get
This application has failed to start because libeay32.dll was not found. Re-installing the application may fix this problem
I have tried going into the blib directory and adding a
BEGIN { use DynaLoader; push @DynaLoader::dl_library_path,'C:\\openssl'; }
to SSLeay.pm Like in an example I found in node
http://www.perlmonks.org/?node_id=603522
I am stuck with no other ideas, does anyone have any thoughts on how I could get this to work?
Update:
Thank you all for your input. syphilis the set command did the trick
However, I am running into a different problem with the which compiler created the binaries of openssl that I am using, but that is not a perlmonks issue. But all is well on the build end of it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Changing where DynaLoader looks for dll files on strawberry perl
by syphilis (Archbishop) on Aug 23, 2008 at 00:38 UTC | |
|
Re: Changing where DynaLoader looks for dll files on strawberry perl
by Corion (Patriarch) on Aug 22, 2008 at 22:39 UTC | |
|
Re: Changing where DynaLoader looks for dll files on strawberry perl
by TGI (Parson) on Aug 25, 2008 at 16:40 UTC | |
by Anonymous Monk on Aug 07, 2015 at 09:27 UTC |