From nobody Sun Jul 02 14:59:44 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QvC015X7Vz4lGLX for ; Sun, 2 Jul 2023 15:00:01 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic315-54.consmr.mail.gq1.yahoo.com (sonic315-54.consmr.mail.gq1.yahoo.com [98.137.65.30]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4QvC0137nlz4Lyl for ; Sun, 2 Jul 2023 15:00:01 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1688309998; bh=mbhS4JDOUu1vYjtxO/nSe3sqTLoR+QlXlo1y6nyZdwM=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=IedFUNAdqCg05/8RTwqWz7RF9h/OYlLEPjUoavMDiJ07nf4qlCTh3+JtNivQpG8T+8fkDQ7CwiinEpM4mFFs70IVzZDxC5cUozWEg+h8W0ODVNChPSgUZm3iFtpYhDUI2vbVQg0Lq/VRqt4mHq4Phnsg7u0l++wq6DlLigEdx7qIUzQ4q7uVQKv4Jf7twkuf6E/v0utdg1v6YnhoEee8iiOZANfa1FHPUvWeJm1QESVcf8WPXbkP+uRUdhRgC9NQemSf9iZg9wbag+0bS0IvFeagCD7ilCGsRyyl68MxDtoJcGdu5E5JbyQuLDGNhzPgc+EcE8fUFOvc3ORIV/0hdA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1688309998; bh=pBPmNR0EXU4E8kmJ1emk6NV1adf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k8ymuyqaxvjyFCHdFHl F4NBA1ZcydgdAm3q6lz7XGBiwAjveRKWLSCRYQNsenUDcVCsdtWtCfyCsXPRHWt62vflXIRhJMiv O1wK88Y9pJ5ZibeLK0.wHvNs.gtGKuu1qhgRy2RRBd.g2BSJzu060lYWyi_YnBi6Bprutct9dDdY YzxPiJ.ZHtc81k1t4KaalKveHkKXO5FY8suMvza4L8dgUx6BdWiSNiWGY8964Peeh87QbZ6kOBlB 4kmwF1EdeWerDI.rvR4cyY09xsLOPDxLirYjmMZQW7iZy727RvZa7u.81YK6GoXNYJAHPgF.QdDC RVLUJ2lMDhVeLVGhLft4UVix8Ld3thx.6e3ON_bXb69t8e1ZIUNZtua7hNSAi.JurALh0YRjfi9. DwhOzlZCZznukzENCZTt8rvLZghT5Zv79i_JXexOYTROdEmvd24EatR4tJj69.UCJZvNKGK38kl1 YKPx7ZltHDWOKM48A86DJ6L49.jldjVo3IcMILcNsm3Vz6tbH.k.gUc0EDjpfu2ui2NjeovITVZ7 Qt7aS7ymh77R1RMt5uKhQPc73yIBHillFlKyp2urcXDYox8YV1O_VvfNr9kUPPjW1tiFT05Rd2pg - X-Sonic-MF: X-Sonic-ID: 0a660d90-ff6c-4062-a47e-0b86084ce1c3 Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.gq1.yahoo.com with HTTP; Sun, 2 Jul 2023 14:59:58 +0000 Received: by hermes--production-ne1-6d679867d5-wcx69 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 6212dad49de8774f44e25b037c28cc9d; Sun, 02 Jul 2023 14:59:56 +0000 (UTC) Content-Type: text/plain; charset=utf-8 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.600.7\)) Subject: Re: ld-elf.so.1: Shared object "libssl.so.111" not found, required by "pkg" and others From: Mark Millard In-Reply-To: Date: Sun, 2 Jul 2023 07:59:44 -0700 Cc: Current FreeBSD Content-Transfer-Encoding: quoted-printable Message-Id: <5BBC8481-3C00-4DAE-A760-F6ED1C8CC32A@yahoo.com> References: <1AB46452-89CC-4879-BBBB-EA2B9BD04DC8.ref@yahoo.com> <1AB46452-89CC-4879-BBBB-EA2B9BD04DC8@yahoo.com> To: Nuno Teixeira X-Mailer: Apple Mail (2.3731.600.7) X-Rspamd-Queue-Id: 4QvC0137nlz4Lyl X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Jul 2, 2023, at 03:46, Nuno Teixeira wrote: > Yes, I will start building my own ports as well as I do it before. >=20 > I'm using poudriere jail: > --- > 14amd64 14.0-CURRENT 1400092 amd64 src=3D/usr/src > --- > That I update each time I update main, but it could also be null mount = too. Null mounting is probably unusual, which is why I mentioned it as an oddity of my context. I do it because I want to be sure that ports can build based on an install of the same exact build that I also, separately install in a bectl BE for booting --sort of a test. I've a few personal patches that I use in my FreeBSD builds. I was not intending to suggest that you use a null mount. Just be sure that, whatever is used, it avoids having libssl.so.111 and libcrypto.so.111 . > Thanks, >=20 > Mark Millard escreveu no dia domingo, 2/07/2023 = =C3=A0(s) 09:15: > Nuno Teixeira wrote on > Date: Sun, 02 Jul 2023 05:22:48 UTC : >=20 > > I'm returning to current and installed from > > 20230622-b95d2237af40-263748-bootonly.iso > > = > > and upgraded to cab2d43b83b (amd64). > >=20 > > Did a magnific delete-old and delete-old-libs and now a lot of = packages > > complain about "ld-elf.so.1: Shared object "libssl.so.111" not = found, > > required by..." > >=20 > > To fix it I rebooted with BE from first instalation since I used > > beinstall.sh for upgrade. > >=20 > > I know that a lot of things happened in the last days with = llvm15->llvm16, > > openssl3, etc. > >=20 > > My question is when can I do a delete-old{-libs}? > > I'm thinking building pkgs with a updated current on poudriere and = then > > clean up libs? >=20 > The world in use for building packages from ports (such as in the > poudriere jail if poudriere is used), should not have libssl.so.111 > or libcrypto.so.111 present. >=20 > I've two files (using amd64 as an example): >=20 > A) ~/origins/amd64-origins.txt > B) ~/origins/amd64-pkgs.txt >=20 > (A) lists the ports I want to build (but not what those are dependent = on). > (B) lists the packages I want to install (but not what those are = dependent on). >=20 > The two have to list flavors in different notations, so having just = one file > ends up not being sufficient. Given that I use poudriere, neither file = lists > ports-mgmt/pkg explicitly. >=20 > To build I use: >=20 > # more ~/build-ports-main-amd64-all_ports.sh=20 > #! /bin/sh > poudriere pkgclean -jmain-amd64 -A > poudriere bulk -jmain-amd64 -w -f ~/origins/amd64-origins.txt >=20 > (You might not want the -w . Also, I have poudriere null mount my own = world > build's installation for use by the jail. In the current context, no > libssl.so.111 or libcrypto.so.111 is present in the jail for the bulk = run.) This rebuilds all ports. These system library tracking rebuilds are uncommon and I use them as a cleanout and start from scratch point. I tend to accumulate experimental builds and installs that are not intended for long term use. Most folks probably try to rebuild only a subset of their ports that would be sufficient: such typically takes less time. > To install I use: >=20 > # more ~/pkg-update-amd64-sys.sh > #! /bin/sh > pkg update \ > && pkg install -f ports-mgmt/pkg \ > && pkg delete -a \ > && pkg install `cat ~/origins/amd64-pkgs.txt` >=20 > (Note: ports that fail to build need to not be listed in > ~/origins/amd64-pkgs.txt .) Ignoring how ports-mgmt/pkg is forced to update first, this cleans out all the other old packages and then installs all of them: more of that cleanout and start from scratch activity. Most folks probably try to install only a subset of their ports that would be sufficient. > I deal with delete-old-libs after the packages are installed. > I do not have any extra non-port software that would need > rebuilding. >=20 > (In my context, I do all this activity as root.) --=20 Nuno Teixeira FreeBSD Committer (ports) =3D=3D=3D Mark Millard marklmi at yahoo.com