如何在 Win 64 上安装 Crypt::SSLeay?
我有 64 位 Vista 和 ActiveState Perl“为 MSWin32-x64-multi-thread 构建的 v5.10.0”,我正在尝试获取 Crypt::SSLeay 软件包与 libeay32.dll
和 ssleay32.dll
版本一起安装。
我之前曾在使用“uwinnipeg”服务器的 Win32 计算机上完成过此操作,但我在 64 位系统上遇到了问题。
ppm install http://theoryx5.uwinnipeg.ca/ppms/Crypt-SSLeay.ppd ppm install failed: The PPD does not provide code to install for this platform
我尝试过直接 ppm 安装,似乎可行,但验证失败,并且我没有看到 dll 文件的任何迹象?
C:\Perl64\bin>ppm install Crypt::SSLeay Downloading ActiveState Package Repository packlist...done Updating ActiveState Package Repository database...done Syncing site PPM database with .packlists...done No missing packages to install C:\Perl64\bin>ppm verify Crypt::SSLeay ppm verify failed: Package 'Crypt::SSLeay' is not installed
有谁知道我在哪里/如何可以获得与我的电脑兼容的版本?
I've got 64-bit Vista with ActiveState Perl "v5.10.0 built for MSWin32-x64-multi-thread" and I'm trying to get the Crypt::SSLeay package installed along with versions of libeay32.dll
and ssleay32.dll
.
I've done this before on a Win32 machine using the 'uwinnipeg' server, but I'm running into issues with my 64-bit system.
ppm install http://theoryx5.uwinnipeg.ca/ppms/Crypt-SSLeay.ppd ppm install failed: The PPD does not provide code to install for this platform
I've tried a straight ppm install which seemed to work, but verification fails and I don't see any sign of the dll files?
C:\Perl64\bin>ppm install Crypt::SSLeay Downloading ActiveState Package Repository packlist...done Updating ActiveState Package Repository database...done Syncing site PPM database with .packlists...done No missing packages to install C:\Perl64\bin>ppm verify Crypt::SSLeay ppm verify failed: Package 'Crypt::SSLeay' is not installed
Does anyone know where/how I could get versions that are compatible with my PC?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这里有一些问题:首先,据我所知,Windows 64 需要 OpenSSL v1.0.0 或更高版本。其次,直到最近,
Crypt-SSLeay
中的Makefile.PL
也做到了无法正确检测高于0.9.x
的 OpenSSL 版本。我认为你至少想升级到 Perl 5.10.1,因为它修复了许多 与性能相关的关键错误。
如果您通过 ActiveState 的
ppm
安装mingw
(我假设ppm install mingw
可以工作,即使我还没有在 64 位上尝试过)系统),您可以使用它来构建 OpenSSL 1.0.0a 和 Crypt-SSLeay。更新:您可能不需要
Crypt::SSLeay
。请参阅:您需要 Crypt::SSLeay ?
你的代码真的依赖于 Crypt::SSLeay 吗?
不要声明对 Crypt::SSLeay(或 IO::Socket::SSL)的依赖。
也有用:
构建 OpenSSL 64 位 Windows Pro 8.1 上的 1.0.1g,带有 Windows SDK 7.1
使用 Visual Studio 2013 社区版编译 Vim 和 OpenSSL。
There are a few issues here: First, AFAIK, you need OpenSSL v1.0.0 or greater for Windows 64. Second, until recently,
Makefile.PL
inCrypt-SSLeay
did not detect correctly OpenSSL versions greater than0.9.x
.I think you want to upgrade at the very least to Perl 5.10.1 as it fixed a number of crucial performance related bugs.
If you install
mingw
via ActiveState'sppm
(I am assumingppm install mingw
would work even though I haven't tried it on a 64-bit system), you can use it to build OpenSSL 1.0.0a and Crypt-SSLeay.Update: You probably don't need
Crypt::SSLeay
. See:DO YOU NEED Crypt::SSLeay?
Does your code really depend on Crypt::SSLeay?
Don't declare a dependency on Crypt::SSLeay (or IO::Socket::SSL either).
Also useful:
Building OpenSSL 1.0.1g on 64-bit Windows Pro 8.1 with Windows SDK 7.1
Compile Vim and OpenSSL with Visual Studio 2013 Community Edition.
Sinan 最近发布了 Crypt::SSLeay 这可能会解决一些 Windows 安装问题。我怀疑它是否已进入 PPM。
Sinan has very recently released a new version of Crypt::SSLeay which might clear up some Windows installation issues. I doubt it's made its way into a PPM yet.