Date: Sun, 2 Jul 2023 11:51:21 +0100 From: Nuno Teixeira <eduardo@freebsd.org> To: Tomoaki AOKI <junchoon@dec.sakura.ne.jp> Cc: freebsd-current@freebsd.org, Yasuhiro Kimura <yasu@freebsd.org> Subject: Re: ld-elf.so.1: Shared object "libssl.so.111" not found, required by "pkg" and others Message-ID: <CAFDf7U%2BdSDtBbg13kOhavNu1vpWVQAhoMt1TmhfLMa%2By%2BSLQOw@mail.gmail.com> In-Reply-To: <20230702165720.091506368e6c881f9b912088@dec.sakura.ne.jp> References: <CAFDf7U%2BCyJZq486Xe2vVKEgTZqa0-aS-KQ9a9x-1W3JVy0pVEA@mail.gmail.com> <20230702.144155.1693771078066107227.yasu@FreeBSD.org> <20230702165720.091506368e6c881f9b912088@dec.sakura.ne.jp>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
Hello Tomoaki,
Yes, It was a mistake of mine doing it knowing that there were not pkgs
available yet.
But it was a nice error to test out BE :)
I will take a look at your script and I will start building my own pkgs so
they can be in sync with src.
Thanks,
Tomoaki AOKI <junchoon@dec.sakura.ne.jp> escreveu no dia domingo, 2/07/2023
à(s) 08:57:
> On Sun, 02 Jul 2023 14:41:55 +0900 (JST)
> Yasuhiro Kimura <yasu@FreeBSD.org> wrote:
>
> > From: Nuno Teixeira <eduardo@freebsd.org>
> > Subject: ld-elf.so.1: Shared object "libssl.so.111" not found, required
> by "pkg" and others
> > Date: Sun, 2 Jul 2023 06:22:48 +0100
> >
> > > Hello all,
> > >
> > > I'm returning to current and installed from
> 20230622-b95d2237af40-263748-bootonly.iso and upgraded to cab2d43b83b
> (amd64).
> > >
> > > 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..."
> > >
> > > To fix it I rebooted with BE from first instalation since I used
> beinstall.sh for upgrade.
> > >
> > > I know that a lot of things happened in the last days with
> llvm15->llvm16, openssl3, etc.
> > >
> > > 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?
> > >
> > > Thanks,
> >
> > The source of the issue is the migration from OpenSSL 1.1.1 to 3.0.
> >
> > So if you use packages built by yourself (e,g. by using poudriere,
> > portmaster, porupgrade, etc. or simply 'make install'), then you
> > should rebuild and reinstall all packages and then should do
> > `make delete-old-libs`.
> >
> > If you use official binary packages, then you should wait until all
> > packages are built with OpenSSL 3.0.
> >
> > HTH.
> >
> > ---
> > Yasuhiro Kimura
>
> FYI:
> I basically never `make delete-old-libs` blindly.
>
> First, run `make check-old-libs` and record the result.
> Then, create an ad-hoc script to check for affected ports installed and
> generate updating script.
> Then, look into the temporary list generated (or generated script) if
> any port should be actually rebuilt.
> Run the generated script if needed.
>
> Attached is the quick and ugly ad-hoc script I used this time.
> Beware! This generates updating script requiring ports-mgmt/pkg_replace.
> Edit it to use whatever you want.
>
>
> If you're using poudriere[-devel], it should rebuild everything.
> I don't use poudriere on main, as it should force me tooo many full
> rebuilds than on stable/* branches.
>
> If letting poudriere to rebuild everything and configured local repo,
> `pkg upgrade` would do the right thing, maybe.
>
>
> --
> Tomoaki AOKI <junchoon@dec.sakura.ne.jp>
>
--
Nuno Teixeira
FreeBSD Committer (ports)
[-- Attachment #2 --]
<div dir="ltr"><div>Hello Tomoaki,</div><div><br></div><div>Yes, It was a mistake of mine doing it knowing that there were not pkgs available yet.</div><div><br></div><div>But it was a nice error to test out BE :)</div><div><br></div><div>I will take a look at your script and I will start building my own pkgs so they can be in sync with src.</div><div><br></div><div>Thanks,<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Tomoaki AOKI <<a href="mailto:junchoon@dec.sakura.ne.jp">junchoon@dec.sakura.ne.jp</a>> escreveu no dia domingo, 2/07/2023 à(s) 08:57:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Sun, 02 Jul 2023 14:41:55 +0900 (JST)<br>
Yasuhiro Kimura <yasu@FreeBSD.org> wrote:<br>
<br>
> From: Nuno Teixeira <<a href="mailto:eduardo@freebsd.org" target="_blank">eduardo@freebsd.org</a>><br>
> Subject: ld-elf.so.1: Shared object "libssl.so.111" not found, required by "pkg" and others<br>
> Date: Sun, 2 Jul 2023 06:22:48 +0100<br>
> <br>
> > Hello all,<br>
> > <br>
> > I'm returning to current and installed from 20230622-b95d2237af40-263748-bootonly.iso and upgraded to cab2d43b83b (amd64).<br>
> > <br>
> > 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,<br>
> > required by..."<br>
> > <br>
> > To fix it I rebooted with BE from first instalation since I used beinstall.sh for upgrade.<br>
> > <br>
> > I know that a lot of things happened in the last days with llvm15->llvm16, openssl3, etc.<br>
> > <br>
> > My question is when can I do a delete-old{-libs}?<br>
> > I'm thinking building pkgs with a updated current on poudriere and then clean up libs?<br>
> > <br>
> > Thanks,<br>
> <br>
> The source of the issue is the migration from OpenSSL 1.1.1 to 3.0.<br>
> <br>
> So if you use packages built by yourself (e,g. by using poudriere,<br>
> portmaster, porupgrade, etc. or simply 'make install'), then you<br>
> should rebuild and reinstall all packages and then should do<br>
> `make delete-old-libs`.<br>
> <br>
> If you use official binary packages, then you should wait until all<br>
> packages are built with OpenSSL 3.0.<br>
> <br>
> HTH.<br>
> <br>
> ---<br>
> Yasuhiro Kimura<br>
<br>
FYI:<br>
I basically never `make delete-old-libs` blindly.<br>
<br>
First, run `make check-old-libs` and record the result.<br>
Then, create an ad-hoc script to check for affected ports installed and<br>
generate updating script.<br>
Then, look into the temporary list generated (or generated script) if<br>
any port should be actually rebuilt.<br>
Run the generated script if needed.<br>
<br>
Attached is the quick and ugly ad-hoc script I used this time.<br>
Beware! This generates updating script requiring ports-mgmt/pkg_replace.<br>
Edit it to use whatever you want.<br>
<br>
<br>
If you're using poudriere[-devel], it should rebuild everything.<br>
I don't use poudriere on main, as it should force me tooo many full<br>
rebuilds than on stable/* branches.<br>
<br>
If letting poudriere to rebuild everything and configured local repo,<br>
`pkg upgrade` would do the right thing, maybe.<br>
<br>
<br>
-- <br>
Tomoaki AOKI <<a href="mailto:junchoon@dec.sakura.ne.jp" target="_blank">junchoon@dec.sakura.ne.jp</a>><br>
</blockquote></div><br clear="all"><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><span style="color:rgb(102,102,102)">Nuno Teixeira<br>FreeBSD Committer (ports)</span></div></div>
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7U%2BdSDtBbg13kOhavNu1vpWVQAhoMt1TmhfLMa%2By%2BSLQOw>
