openssl "no version information available"
错误:/usr/local/lib/libcrypto.so.1.0.0: no version information available
I suppose I should get right to the point...
Problem: libssl.so.1.0.0 and libcrypto.so.1.0.0 no version information available warning/error.
I SOLVED IT!!! YAY!!! (Fireworks should be going off and stuff.)
After much research, time and effort, (took weeks), here's what I finally ended up doing...
In the directory where you ended up extracting the source code for your version of openssl 1.0.1h (Should work for other versions too.) I create a file called openssl.ld
In this file put this...
Answer
OPENSSL_1.0.0 {
global:
*;
};
save it. Now type in...
make clean (Just to be sure we are starting fresh.)
Now for the really mind boggling part...
./config --prefix=/usr/local --openssldir=/usr/local/openssl shared -Wl,--version-script=openssl.ld -Wl,-Bsymbolic-functions
Then...
make
make test
make install
ldconfig
And that should do it. (It's so simple. No patching required.)
I have applied this solution to Debian Wheezy both 32 and 64 bit versions. And have made an observation. The 64 bit version automatically defaults to the new libssl.so.1.0.0 and libcrypto.so.1.0.0 files that are created in the /usr/local/lib directory. The 32 bit version does not. Which is why I had thought at first that the 32 bit version of Debian Wheezy didn't suffer from this problem, but it does once you get the 32 bit version to use the new openssl libraries in the /usr/local/lib dir.
Using the ldd command to test what libraries the binaries are using was invaluable in figuring this out too.
Have a nice day.
Mr. E. Dude
转载于:https://my.oschina.net/xiiyan/blog/403277
上一篇: 求助工具推荐
推荐阅读
-
AndroidStudio报错:Could not download gradle.jar:No cacahed version available for offline mode
-
解决:WARNING: You are using pip version 20.0.2; however, version 20.2.2 is available
-
AS3.X Gradle构建中:No cached version available for offline mode解决
-
Dubbo client 启动报错:No provider available for the service use dubbo version 2.5.3
-
./mongod: /usr/lib/x86_64-linux-gnu/libcurl.so.4: version `CURL_OPENSSL_3‘ not found (required by ./
-
(含软连接修改的分析) 安装caffe 出现libcurl.so.4: no version information available (required by cmake)
-
解决 php 在 ubuntu 下 no version information available (required by php)
-
“You are using pip version 19.0.3, however version 20.0.2 is available. You should ...”报错,解决办法
-
使用CMake编译时出现动态链接库错误no version information available的解决方案
-
libcurl.so.4: no version information available 问题