Summary: | libssl.so.8 not found by pkg | ||
---|---|---|---|
Product: | Base System | Reporter: | Alfredo Dal'Ava Junior <alfredo> |
Component: | bin | Assignee: | freebsd-bugs (Nobody) <bugs> |
Status: | New --- | ||
Severity: | Affects Only Me | CC: | dclarke, fatihclsz, kynes.liet, mishin, ndowens04, sigsys, xq, yklaxds |
Priority: | --- | ||
Version: | 12.0-STABLE | ||
Hardware: | powerpc | ||
OS: | Any |
Description
Alfredo Dal'Ava Junior
2018-11-14 17:07:13 UTC
(In reply to alfredo.junior@eldorado.org.br from comment #0) Install OpenSSL 1.1.0 or 1.1.1 and links the libs like you did (In reply to Nathan from comment #1) I forgot to mention. Install OpenSSL via ports (In reply to Nathan from comment #2) Nathan, I verified with /usr/ports/security/openssl111 and it doesn't work. libssl.so.111 also doesn't contains 'SSL_load_error_strings' symbol (In reply to alfredo.junior@eldorado.org.br from comment #3) worked with the one from /usr/ports/security/openssl, retrieved using portsnap tool (It uses openssl-1.0.2p_2,1). And I created the following symlink: ln -s /usr/local/lib/libssl.so.9 /usr/lib/libssl.so.8 # pkg update Updating FreeBSD repository catalogue... pkg: Repository FreeBSD load error: access repo file(/var/db/pkg/repo-FreeBSD.sqlite) failed: No such file or directory Fetching meta.txz: 100% 944 B 0.9kB/s 00:01 Fetching packagesite.txz: 100% 130 KiB 132.8kB/s 00:01 Processing entries: 100% FreeBSD repository update completed. 541 packages processed. All repositories are up to date. # Thanks ! This is still a problem in the RELEASE 12.0 version for ppc64. hydra# uname -aU FreeBSD hydra 12.0-RELEASE FreeBSD 12.0-RELEASE r341666 GENERIC powerpc 1200086 hydra# hydra# pkg query The package management tool is not yet installed on your system. Do you want to fetch and install it now? [y/N]: y Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/FreeBSD:12:powerpc64/quarterly, please wait... Verifying signature with trusted certificate pkg.freebsd.org.2013102301... done Installing pkg-1.10.5_3... Extracting pkg-1.10.5_3: 100% ld-elf.so.1: Shared object "libssl.so.8" not found, required by "pkg" hydra# The average user will simply see this is plain jane broken. -- Dennis Clarke RISC-V/SPARC/PPC/ARM/CISC UNIX and Linux spoken GreyBeard and suspenders optional Clearly a problem for arm also : see 234481 For what it's worth, I found the following workaround: # pkg-static install -f pkg Same issue for FreeBSD-12.1-RELEASE-arm64-aarch64-RPI3.img.xz # ldd /usr/local/sbin/pkg /usr/local/sbin/pkg: ... libssl.so.8 => not found (0) libcrypto.so.8 => not found (0) ... libssl.so.8 => not found (0) libcrypto.so.8 => not found (0) ... -------------------------------------- How to deal with it: Just, pkg-static install security/openssl pkg-static install -f pkg Please release a new img to repair it. This issue still on FreeBSD-12.1-STABLE-arm64-aarch64-RPI3-20200206-r357605. ----------------- ld-elf.so.1: Shared object "libssl.so.8" not found, required by "pkg" freebsd is running on raspberry pi 3+ and i try to run postfix but i always getting same error "ld-elf.so.1: Shared object "libcrypto.so.8" not found, required by "postfix"" could you please provide me if if this problem can be solved in a shot time ? thanks. NO,use 13.0 You can make soft links for both libs from which You have installed ones in base. If I remember it right: ln -s /usr/lib/libssl.so.111 /usr/lib/libssl.so.8; ln -s /lib/libcrypto.so.111 /lib/libcrypto.so.8; In my case it worked fine. It makes the 'pkg update|upgrade' possible. ...and, yes, I use 13.0 now - no updates for packages too long. Thank Alexander, it is working now. ln -s /usr/lib/libssl.so.111 /usr/lib/libssl.so.8; ln -s /lib/libcrypto.so.111 /lib/libcrypto.so.8; 'pkg bootstrap -f' worked for me then 'pkg update|upgrade' |