问题标签 [libcrypto]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
windows - Windows 上缺少 libcrypto 等效项
我有一个需要在 Windows7 上编译的 C 文件。我已经为 gcc 安装了 MinGW。我还需要 OpenSSL,所以按照他们网站上的链接,从 Shining Light Productions 下载了完整的开发人员包(以及来自 MS 的 64 位 Redistro 包)。
当我尝试使用此命令编译我的文件时:
我得到错误:
我发现特别奇怪的是错误中使用的 unix 风格的正斜杠。此外,路径是正确的,但情况并非如此。有效路径是C:\MinGW\bin...
我也无法在任何地方找到任何加密库(libcrypto.* 或 crypt*lib.*),所以我想这就是它找不到-lcrypto
. 我原以为这将与完整安装一起提供。以前有没有其他人遇到过这种情况,或者知道为什么会发生这种情况?
windows - 如何在支持 libcrypto 的 Windows 上构建 PoDoFo?
我有一个使用 PoDoFo 支持 PDF 的项目,我正在尝试更新它以使用 SVN 树中的 HEAD 版本。
与我使用的上一个版本相比,最大的变化是从 OpenSSL 中添加了 libcrypto,这似乎是必需的。我下载并构建了 OpenSSL 并设置了适当的选项(或者我希望如此),以便 cmake 可以找到 libcrypto。
cmake 似乎觉得没问题,但是当我尝试从生成的 makefile 构建时,我得到了错误:
我削减了我的构建脚本,以便我可以专注于这个问题:
我的BuildSetup.cmake
文件:
我尝试将路径显式添加openssl/md5.h
到INCLUDE
环境变量中,但没有任何效果。
我还尝试使用“Visual Studio 10”生成器。同样的问题。
c - Linking to SSL shared library of different versions
My app uses only functions supported in OpenSSL 0.9.8 and later, but I compile it on a system with a 1.0.0 library installed (with -lcrypto), and the app requires libcrypto.so.1.0.0 or later at install time.
OpenSSL apparently compiles the entire version level "libcrypto.so.1.0.0" into the SONAME of the library, so my app won't run unless this specific version of the library exists. I get that it won't run on a system with only 0.9.8 installed, but what if 1.0.1 is installed?
For every other shared library I use (-lpthreads, -lncurses, ..), ldd shows the SONAME as "libxxx.so.N", so I only need version N installed. OpenSSL is the only library I'm aware of that depends on a very specific version level (V.R.M), so I worry that the app won't run if the installed library is later than libcrypto.so.1.0.0 (or the library is updated to a more recent level).
Is there a way to compile my app to use "libcrypto.so or "libcrypto.so.1" regardless of what version it's linked to? And why does OpenSSL use the full version in the SONAME when no other library I'm aware of does this?
android - Android.mk 无法与 libcrypto 链接
案子:
我正在构建一个使用libcrypto
和的应用程序libssl
。我正在尝试使用预构建libcrypto.so
并libssl.so
编译我的应用程序。
但我不断收到未定义的参考错误。
我的应用程序/Android.mk
我的应用程序/mylibssl/Android.mk
构建 mylibssl [来自预构建的 libssl.so]
我的应用程序/mylibcrypto/Android.mk
构建 mylibcrypto [来自预构建的 libcrypto.so]
我不断得到
我花了几个小时试图弄清楚并且完全被卡住了。请帮忙!
cmake - FreeRDP CMAKE 错误
您好,我是 linux 的新手,我正在尝试安装 FreeRDP。我不断收到此错误:
在我输入“make”命令后。对不起,如果这个问题已经被问过,但我已经彻底搜索了堆栈溢出并没有找到它。提前致谢:)
ssl - openssl BIO_do_connect returns 0 for ssl
Here's my simple openssl client test case trying to connect to google.com:443.
According to the manual, BIO_do_connect should return 1, 0 or -1. Google didn't find me anyone for whom it returns 0, which it does for me.
returns:
so how do i get the actual error out of this?
gcc - 链接器找不到 libcrypto
我收到链接器错误:/usr/bin/ld: cannot find -lcrypto
echo $LD_LIBRARY_PATH 给了我 /usr/lib
在 /usr/lib 中有一个 libcrypto.so.1.0.0
在 Makefile 的 gcc 行中,我添加了 -lcrypto 标志。
我不确定如何解决这个问题。
ios7 - Xcode5 - Openssl 构建问题
尝试在 xcode5 中构建 openssl 显示“libcrypto.a”和 libssl.a“文件丢失错误。我正在使用来自 Github 的最新 openssl 文件。我找不到确切的问题,如果有人有任何想法,请免费分享。
谢谢
nginx - CentOS 安装 nginx 失败
在 CentOs 6 上安装 nginx 时出现以下错误。我用谷歌搜索但无法执行任何操作。
shared-libraries - libcrypto.so.0.9.7:无法打开共享对象文件
我已经在网上搜索了这个问题,但没有得到正确的答复。我正在运行一个需要 libcrypto.so.0.9.7 的内部应用程序。
但我不断收到以下错误:
我在网上遇到了两种解决方案:
- 使用现有的 libcrypto 文件创建符号链接。
- 安装一些包含这个库文件的包。
我在 Fedora 系统上运行它。我无法在网上找到包含这个库的包。唯一可用的是 OpenSuse 和 Mandriva。
为了创建符号链接,我有一个 libcrypto.so.1.0.0h 和 libcrypto.so.1.0.0d 文件可用。我不确定是否允许我符号链接到较新的版本。
如果有人可以为这种情况提供合适的解决方案,那将是非常有帮助的,因为我在不同的系统中多次遇到过这种情况。
提前致谢!