Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 May 2021 13:00:43 +0700
From:      Budi Janto <budijanto@studiokaraoke.co.id>
To:        Graham Perrin <grahamperrin@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: libnetgraph.so.4 not found
Message-ID:  <db4bfca0-4759-08aa-460d-e74179c39ac0@studiokaraoke.co.id>
In-Reply-To: <1f422d69-c89f-fbb8-183e-347734192f66@gmail.com>
References:  <3804a21d-e8d8-21e3-1363-b79878b6f82c@studiokaraoke.co.id> <1f422d69-c89f-fbb8-183e-347734192f66@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--YifhjPVzc1l6LUb8DtqwkWNzfCgEFrdiq
Content-Type: multipart/mixed; boundary="68ZtOyLIpOGkwFRoPb3vUhD7AbNEP12TV";
 protected-headers="v1"
From: Budi Janto <budijanto@studiokaraoke.co.id>
To: Graham Perrin <grahamperrin@gmail.com>, freebsd-questions@freebsd.org
Message-ID: <db4bfca0-4759-08aa-460d-e74179c39ac0@studiokaraoke.co.id>
Subject: Re: libnetgraph.so.4 not found
References: <3804a21d-e8d8-21e3-1363-b79878b6f82c@studiokaraoke.co.id>
 <1f422d69-c89f-fbb8-183e-347734192f66@gmail.com>
In-Reply-To: <1f422d69-c89f-fbb8-183e-347734192f66@gmail.com>

--68ZtOyLIpOGkwFRoPb3vUhD7AbNEP12TV
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable



On 5/2/21 7:02 PM, Graham Perrin wrote:
> On 02/05/2021 11:16, Budi Janto wrote:
>> =E2=80=A6
>>
>> # uname -rpKvU
>> 13.0-RELEASE FreeBSD 13.0-RELEASE #0 releng/13.0-n244733-ea31abc261f: =

>> Fri Apr=C2=A0 9 04:24:09 UTC 2021=20
>> root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC =

>> amd64 1300139 1300139
>>
>> # netstat -rn
>> ld-elf.so.1: Shared object "libnetgraph.so.4" not found, required by=20
>> "netstat"
>>
>> =E2=80=A6
>=20
> Please: how =E2=80=93 exactly =E2=80=93 did you perform the upgrade fro=
m 12.2-RELEASE-p6?

Here, we have done to upgrade for 11 machines, which is only one machine =

without libnetgraph.so.4 issue. In all machine I do similar step.

1. First step update to the latest version of FreeBSD 12.2-RELEASE branch=
=2E
# freebsd-update fetch install
# shutdown -r now

2. Upgrade to FreeBSD 13.0.
# freebsd-update -r 13.0-RELEASE upgrade

3. Install base/kernel.
# freebsd-update install
# shutdown -r now

4. Install userland components.
# freebsd-update install

5. Rebuild all packages.
# pkg-static install -fy pkg; pkg bootstrap -fy; pkg update -f; pkg=20
upgrade -fy; pkg clean -ay

6. Remove old/unused-libraries.
# freebsd-update install
# shutdown -r now

Are there any steps I missed? Thanks.


--=20
Regards,
Budi Janto


--68ZtOyLIpOGkwFRoPb3vUhD7AbNEP12TV--

--YifhjPVzc1l6LUb8DtqwkWNzfCgEFrdiq
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature"

-----BEGIN PGP SIGNATURE-----

wmMEABEIACMWIQSgWiaMPNSrvdnrEeH2TEtOYmlTBAUCYJDjCwUDAAAAAAAKCRD2TEtOYmlTBHVF
AJ9KKFJejjQI/4eDsB/8qOCfji4ZgACdEyJ9M0BQASQJTm/RubTp8/1iI6w=
=WzNa
-----END PGP SIGNATURE-----

--YifhjPVzc1l6LUb8DtqwkWNzfCgEFrdiq--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?db4bfca0-4759-08aa-460d-e74179c39ac0>