我正在尝试在debian 7上安装uTorrent,但每次我尝试运行它都会收到以下错误消息:
error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory
Run Code Online (Sandbox Code Playgroud)
我认为它不再适用于debian存储库.我试图制作一些符号链接来解决问题,但再次得到相同的消息.我怎么解决这个问题?
我一直在使用Ubuntu 16.04。最近我对 PHP 安装做了一些实验,恐怕我已经严重破坏了东西。我试过
sudo apt install php7.0
Run Code Online (Sandbox Code Playgroud)
但它显示了依赖性和损坏的包错误
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
php7.0 : Depends: libapache2-mod-php7.0 but it …Run Code Online (Sandbox Code Playgroud) 我最近卸载了postgresql并通过pip安装了pyscopg2.
我知道libcrypto和libssl涉及一些技巧
目前我将它们符号链接到:
$ ls -lah libssl.*
-rwxr-xr-x 1 root wheel 402K Aug 28 11:06 libssl.0.9.7.dylib
-rwxr-xr-x 1 root wheel 589K Aug 28 11:06 libssl.0.9.8.dylib
lrwxr-xr-x 1 root wheel 55B Nov 29 23:38 libssl.1.0.0.dylib -> /usr/local/Cellar/openssl/1.0.1c/lib/libssl.1.0.0.dylib
lrwxr-xr-x 1 root wheel 55B Nov 30 02:25 libssl.dylib -> /usr/local/Cellar/openssl/1.0.1c/lib/libssl.1.0.0.dylib
/usr/lib
$ ls -lah libcrypto.*
-rwxr-xr-x 1 root wheel 2.1M Aug 28 11:06 libcrypto.0.9.7.dylib
-rwxr-xr-x 1 root wheel 2.6M Aug 28 11:06 libcrypto.0.9.8.dylib
-r-xr-xr-x 1 root wheel 1.6M Oct 31 22:12 libcrypto.1.0.0.dylib
lrwxr-xr-x …Run Code Online (Sandbox Code Playgroud) 该命令apt-cache policy libssl-dev显示以下输出:
libssl-dev:
Installed: (none)
Candidate: 1.0.1f-1ubuntu2.11
Version table:
1.0.1f-1ubuntu2.11 0
500 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
1.0.1f-1ubuntu2 0
500 http://mirrors.digitalocean.com/ubuntu/ trusty/main amd64 Packages
Run Code Online (Sandbox Code Playgroud)
当我通过apt-get install libssl-dev获取1.0.1f版本安装它.但是我openssl-1.0.2a通过以下命令安装了最新的源代码:
wget http://www.openssl.org/source/openssl-1.0.2a.tar.gz
tar -xvzf openssl-1.0.2a.tar.gz
cd openssl-1.0.2a
./config --prefix=/usr/
make
sudo make install
Run Code Online (Sandbox Code Playgroud)
我怎么能安装libssl-dev-1.0.2a版本才能与我兼容openssl-1.0.2a?
问题
我下载了mongodb 3.0.7tar文件.然后我将bin目录添加到我的路径:
export PATH=<mongodb-install-directory>/bin:$PATH
Run Code Online (Sandbox Code Playgroud)
然后当我运行mongodb服务器时:
mongod --fork --logpath "/home/me/mongolog" --dbpath "/home/me/data"
Run Code Online (Sandbox Code Playgroud)
我收到此错误:
mongod: error while loading shared libraries: libssl.so.10: cannot open shared object file: No such file or directory
Run Code Online (Sandbox Code Playgroud)
我做了什么
我试过这个解决方案.简而言之,我更新了我的openssl:
sudo apt-get update
sudo apt-get install libssl1.0.0 libssl-dev
Run Code Online (Sandbox Code Playgroud)
然后:
cd /lib/x86_64-linux-gnu
sudo ln -s libssl.so.1.0.0 libssl.so.10
sudo ln -s libcrypto.so.1.0.0 libcrypto.so.10
Run Code Online (Sandbox Code Playgroud)
但它说它无法找到libssl.so.10和libcrypto.so.10.我不知道该怎么办!
我与“openssl”结合输入的内容无关紧要,我总是收到以下错误消息:
'openssl: error while loading shared libraries: libssl.so.3: cannot open shared object file: No such file or directory'
Run Code Online (Sandbox Code Playgroud)
在阅读了本论坛和其他论坛中提出的许多问题后,我不知道如何解决该问题。
我需要在我的Android设备上执行tcpdump跟踪.
我的设置:
将tcpdump文件推送到SD卡
adb push filepath/tcpdump /sdcard/tcpdump
Run Code Online (Sandbox Code Playgroud)
将文件复制到/ system/bin
为tcpdump文件授予root权限
adb shell
cd /system/bin
su
chmod 777 tcpdump
Run Code Online (Sandbox Code Playgroud)
运行tcpdump trace
tcpdump -vv -s 0 -w /sdcard/filename.pcap
Run Code Online (Sandbox Code Playgroud)
我已经设法在三星Galaxy S4上做到了 - 它工作正常.但是,它不适用于我的三星Galaxy Tab.在tcpdump命令后我收到错误:
tcpdump
soinfo_link_image(linker.cpp:1635): could not load library "libssl.so" needed by
"/system/bin/tcpdump"; caused by load_library(linker.cpp:761): not a valid ELF
executable: libssl.soCANNOT LINK EXECUTABLE
Run Code Online (Sandbox Code Playgroud)
两个设备都是root用户,并且它们具有相同的tcpdump配置.我 在/ system/lib /中有libssl.so
三星Galaxy S4
C:\Windows\System32>adb shell
shell@android:/ $ su
su
root@android:/ # cd system/bin
cd system/bin
root@android:/system/bin # tcpdump
tcpdump
tcpdump: …Run Code Online (Sandbox Code Playgroud) 我尝试在 C 库中管理 PKCS#12 结构中的多个 RSA 密钥和证书。使用原语管理单个密钥PKCS12_create并且PKCS12_parse工作正常,但我找不到有关管理多个密钥的任何信息。我尝试使用保险箱和袋子原语,但我只成功破坏了我的 PKCS12。
OpenSSL 的 PKCS#12 是否允许 PKCS#12 结构中的多个密钥和证书?如果是这样,那么我如何使用 PKCS#12 API 管理多个密钥和证书?
谢谢大家
我的 aws 实例遇到问题,使用任何参数运行 spl-token 后,出现以下错误
spl-token: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
我想这可能和我的共享库有关,
所以运行后
ldconfig -p | grep libssl
这就是我得到的
libssl3.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libssl3.so
libssl.so.3 (libc6,x86-64) => /lib/x86_64-linux-gnu/libssl.so.3
libssl.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libssl.so
Run Code Online (Sandbox Code Playgroud)
我注意到没有libssl.so.1.1列出,这是否是错误的原因?
所以接下来我搜索了如何将 libssl.so.1.1 添加到共享库,我发现一篇文章说你必须编辑 /etc/ld.so.conf.d/.conf 并添加库的路径。所以我创建了该文件并添加了路径/snap/core18/2344/usr/lib/x86_64-linux-gnu/libssl.so.1.1。
没有成功
我正在尝试安装nginx(Debian 7,amd64):
apt-get install nginx
Run Code Online (Sandbox Code Playgroud)
但是我收到一个错误:
nginx:取决于:libssl0.9.8(> = 0.9.8m-1)但它不可安装
我下载了deb并安装它:
wget http://snapshot.debian.org/archive/debian/20110406T213352Z/pool/main/o/openssl098/libssl0.9.8_0.9.8o-7_i386.deb
sudo dpkg -i libssl0.9.8_0.9.8o-7_i386.deb
Run Code Online (Sandbox Code Playgroud)
但这没有效果.我究竟做错了什么?
谢谢.
尝试启动 puma 时出现以下错误。它抱怨它无法加载 libssl?
有任何想法吗?
root@7711398a00ad:/app# bundle exec puma -C config/puma.rb
bundler: failed to load command: puma (/bundle/bin/puma)
LoadError: libssl.so.1.0.0: cannot open shared object file: No such file or directory - /bundle/gems/puma-3.11.4/lib/puma/puma_http11.so
/bundle/gems/puma-3.11.4/lib/puma/server.rb:15:in `require'
/bundle/gems/puma-3.11.4/lib/puma/server.rb:15:in `<top (required)>'
/bundle/gems/puma-3.11.4/lib/puma/runner.rb:1:in `require'
/bundle/gems/puma-3.11.4/lib/puma/runner.rb:1:in `<top (required)>'
/bundle/gems/puma-3.11.4/lib/puma/cluster.rb:1:in `require'
/bundle/gems/puma-3.11.4/lib/puma/cluster.rb:1:in `<top (required)>'
/bundle/gems/puma-3.11.4/lib/puma/launcher.rb:4:in `require'
/bundle/gems/puma-3.11.4/lib/puma/launcher.rb:4:in `<top (required)>'
/bundle/gems/puma-3.11.4/lib/puma/cli.rb:6:in `require'
/bundle/gems/puma-3.11.4/lib/puma/cli.rb:6:in `<top (required)>'
/bundle/gems/puma-3.11.4/bin/puma:6:in `require'
/bundle/gems/puma-3.11.4/bin/puma:6:in `<top (required)>'
/bundle/bin/puma:23:in `load'
/bundle/bin/puma:23:in `<top (required)>'
Run Code Online (Sandbox Code Playgroud) 我试图根据这些说明为Debian安装ODBC驱动程序:https://blog.afoolishmanifesto.com/posts/install-and-configure-the-ms-odbc-driver-on-debian/
但是试图运行:
sqlcmd -S localhost
我收到了错误
libcrypto.so.10:无法打开共享对象文件:没有这样的文件或目录
可能是什么原因?
到目前为止我已经尝试过
1.
$ cd /usr/lib
$ sudo ln -s libssl.so.0.9.8 libssl.so.10
$ sudo ln -slibcrypto.so.0.9.8 libcrypto.so.10
2.
/usr/local/lib64 to the /etc/ld.so.conf.d/doubango.conf file
3.
sudo apt-get update
sudo apt-get install libssl1.0.0 libssl-dev
cd /lib/x86_64-linux-gnu
sudo ln -s libssl.so.1.0.0 libssl.so.10
sudo ln -s libcrypto.so.1.0.0 libcrypto.so.10
4. Sudo apt-get install libssl0.9.8:i386
Run Code Online (Sandbox Code Playgroud)
这些都没有帮助.