ubuntu libssl Ubuntu24.04
各位老铁们,大家好,今天由我来为大家分享ubuntu libssl,以及Ubuntu24.04的相关问题知识,希望对大家有所帮助。如果可以帮助到大家,还望关注收藏下本站,您的支持是我们最大的动力,谢谢大家了哈,下面我们开始吧!
找不到libssl.so.10的终极解决方案 – Ubuntu 18
在尝试运行在Ubuntu 18系统中的CentOS7编译出的二进制文件时,遇到了错误提示:"error while loading shared libraries: libssl.so.10: cannot open shared object file: No such file or directory"。这表明系统中缺少所需的库。
在网络上查找解决方案时,常见的建议是通过APT工具安装所需的库。但这种方法在本例中并未解决问题。在系统目录下并未找到libssl.so.10和相关文件。
为了彻底解决这个问题,我遵循了该文章的指导。简而言之,需要编译OpenSSL并将其生成的libssl.so.1.0.0和libcrypto.so.1.0.0文件复制到/lib/x86_64-linux-gnu目录,并创建软链接。
首先,下载合适的OpenSSL版本。接着,执行编译过程,生成所需的库文件。最后,将这些文件复制到指定目录,并创建软链接,以便系统能够正确加载所需的库。
ubuntu 安装 openssl 1.1
问题:VSCode使用 Clangd插件时报错,原因是Ubuntu 2204默认使用 openssl 3.0,但存在依赖 openssl 1.1的可执行文件。
安装:在进行安装前,确保已具备前置依赖条件。接着,执行以下步骤下载并解压 openssl 1.1的安装包。完成下载和解压后,按照安装包内的说明进行安装。
设置动态库:安装完成后,检查 libssl.so.1.1是否已安装在/usr/local/lib目录下。如果未能找到对应动态库,需设置运行时动态库查找路径。为此,编辑/etc/ld.so.conf文件,将/usr/local/lib添加至文件中的一行。完成编辑后,刷新动态库缓存。
windows怎么安装libssl-dev
我本来是要安ettercap dependencs的,没看到ettercap下面直接有可以使用的命令,我上次看到了,也提醒了自己,但是这次我多花了5个小时搞定它,。包括了 ubuntu的安装,还是烂笔头比较好阿,所以今天就把自己的这些问题记下来。 Ubuntu 12.04LTS安装,我这次是直接运行wubi.exe,花了半个多小时的时间,我也没有去找捷径,因为实验室的网速还是可以的,下次要是系统没了,估计也就没有这么好的网速了。 Ubuntu 12.04LTS下直接安装 libssl-dev失败提示错误: 1 2 3 4 5 6 7 8 9 10 11 12 13$ sudo apt-get install libssl-dev 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: libssl-dev: Depends: libssl1.0.0(= 1.0.1-4ubuntu5) but 1.0.1-4ubuntu5.3 is to be installed Recommends: libssl-doc but it is not going to be installed E: Unable to correct problems, you have held broken packages.原因:已安装的libssl1.0.0版本太高,无法支持 1 2 3 4 5 6 7 8 9$dpkg-l*libssl* Desired=Unknown/Install/Remove/Purge/Hold| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend|/ Err?=(none)/Reinst-required(Status,Err: uppercase=bad)||/ Name Version Description+++-==================-==================-==================================================== un libssl-dev(no description available) un libssl-doc(no description available) ii libssl1.0.0 1.0.1-4ubuntu5.3 SSL shared libraries解决方案:使用aptitude软件包管理器 1.安装aptitude 1$sudo apt-get install aptitude 2.使用aptitude安装 libssl-dev包,采用建议的解决方案(将libssl1.0.0版本降级) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49$sudo aptitude install libssl-dev The following NEW packages will be installed: libssl-dev{b} The following packages are RECOMMENDED but will NOT be installed: libssl-doc 0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 1,528 kB of archives. After unpacking 6,179 kB will be used. The following packages have unmet dependencies: libssl-dev: Depends: libssl1.0.0(= 1.0.1-4ubuntu5) but 1.0.1-4ubuntu5.3 is installed. Depends: zlib1g-dev but it is not going to be installed. The following actions will resolve these dependencies: Keep the following packages at their current version: 1) libssl-dev [Not Installed] Accept this solution? [Y/n/q/?] n The following actions will resolve these dependencies: Install the following packages: 1) zlib1g-dev [1:1.2.3.4.dfsg-3ubuntu4(precise)] Downgrade the following packages: 2) libssl1.0.0 [1.0.1-4ubuntu5.3(now)-> 1.0.1-4ubuntu5(precise-updates)] Accept this solution? [Y/n/q/?] y The following packages will be DOWNGRADED: libssl1.0.0 The following NEW packages will be installed: libssl-dev zlib1g-dev{a} The following packages are RECOMMENDED but will NOT be installed: libssl-doc 0 packages upgraded, 2 newly installed, 1 downgraded, 0 to remove and 0 not upgraded. Need to get 2,707 kB of archives. After unpacking 6,575 kB will be used. Do you want to continue? [Y/n/?] y Get: 1 precise-updates/main libssl1.0.0 amd64 1.0.1-4ubuntu5 [1,013 kB] Get: 2 precise/main zlib1g-dev amd64 1:1.2.3.4.dfsg-3ubuntu4 [165 kB] Get: 3 precise-updates/main libssl-dev amd64 1.0.1-4ubuntu5 [1,528 kB] Fetched 2,707 kB in 5s(503 kB/s) Preconfiguring packages... dpkg: warning: downgrading libssl1.0.0 from 1.0.1-4ubuntu5.3 to 1.0.1-4ubuntu5.(Reading database... 150648 files and directories currently installed.) Preparing to replace libssl1.0.0 1.0.1-4ubuntu5.3(using.../libssl1.0.0_1.0.1-4ubuntu5_amd64.deb)... Unpacking replacement libssl1.0.0... Setting up libssl1.0.0(1.0.1-4ubuntu5)... Processing triggers for libc-bin... ldconfig deferred processing now taking place Selecting previously unselected package zlib1g-dev.(Reading database... 150648 files and directories currently installed.) Unpacking zlib1g-dev(from.../zlib1g-dev_1%3a1.2.3.4.dfsg-3ubuntu4_amd64.deb)... Selecting previously unselected package libssl-dev. Unpacking libssl-dev(from.../libssl-dev_1.0.1-4ubuntu5_amd64.deb)... Processing triggers for man-db... Setting up zlib1g-dev(1:1.2.3.4.dfsg-3ubuntu4)... Setting up libssl-dev(1.0.1-4ubuntu5)...验证libssl-dev包安装情况: 1 2 3 4 5 6 7 8 9$dpkg-l*libssl* Desired=Unknown/Install/Remove/Purge/Hold| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend|/ Err?=(none)/Reinst-required(Status,Err: uppercase=bad)||/ Name Version Description+++-==================-==================-==================================================== ii libssl-dev 1.0.1-4ubuntu5 SSL development libraries, header files and document un libssl-doc(no description available) ii libssl1.0.0 1.0.1-4ubuntu5 SSL shared libraries