Skip site navigation (1)Skip section navigation (2)
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 &lt;<a href="mailto:junchoon@dec.sakura.ne.jp">junchoon@dec.sakura.ne.jp</a>&gt; 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 &lt;yasu@FreeBSD.org&gt; wrote:<br>
<br>
&gt; From: Nuno Teixeira &lt;<a href="mailto:eduardo@freebsd.org" target="_blank">eduardo@freebsd.org</a>&gt;<br>
&gt; Subject: ld-elf.so.1: Shared object &quot;libssl.so.111&quot; not found, required by &quot;pkg&quot; and others<br>
&gt; Date: Sun, 2 Jul 2023 06:22:48 +0100<br>
&gt; <br>
&gt; &gt; Hello all,<br>
&gt; &gt; <br>
&gt; &gt; I&#39;m returning to current and installed from 20230622-b95d2237af40-263748-bootonly.iso and upgraded to cab2d43b83b (amd64).<br>
&gt; &gt; <br>
&gt; &gt; Did a magnific delete-old and delete-old-libs and now a lot of packages complain about &quot;ld-elf.so.1: Shared object &quot;libssl.so.111&quot; not found,<br>
&gt; &gt; required by...&quot;<br>
&gt; &gt; <br>
&gt; &gt; To fix it I rebooted with BE from first instalation since I used beinstall.sh for upgrade.<br>
&gt; &gt; <br>
&gt; &gt; I know that a lot of things happened in the last days with llvm15-&gt;llvm16, openssl3, etc.<br>
&gt; &gt; <br>
&gt; &gt; My question is when can I do a delete-old{-libs}?<br>
&gt; &gt; I&#39;m thinking building pkgs with a updated current on poudriere and then clean up libs?<br>
&gt; &gt; <br>
&gt; &gt; Thanks,<br>
&gt; <br>
&gt; The source of the issue is the migration from OpenSSL 1.1.1 to 3.0.<br>
&gt; <br>
&gt; So if you use packages built by yourself (e,g. by using poudriere,<br>
&gt; portmaster, porupgrade, etc. or simply &#39;make install&#39;), then you<br>
&gt; should rebuild and reinstall all packages and then should do<br>
&gt; `make delete-old-libs`.<br>
&gt; <br>
&gt; If you use official binary packages, then you should wait until all<br>
&gt; packages are built with OpenSSL 3.0.<br>
&gt; <br>
&gt; HTH.<br>
&gt; <br>
&gt; ---<br>
&gt; 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&#39;re using poudriere[-devel], it should rebuild everything.<br>
I don&#39;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    &lt;<a href="mailto:junchoon@dec.sakura.ne.jp" target="_blank">junchoon@dec.sakura.ne.jp</a>&gt;<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>