libnetgraph.so.4 not found

Budi Janto budijanto at studiokaraoke.co.id
Tue May 4 06:01:11 UTC 2021



On 5/2/21 7:02 PM, Graham Perrin wrote:
> On 02/05/2021 11:16, Budi Janto wrote:
>>>>
>> # uname -rpKvU
>> 13.0-RELEASE FreeBSD 13.0-RELEASE #0 releng/13.0-n244733-ea31abc261f: 
>> Fri Apr  9 04:24:09 UTC 2021 
>> root at 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 
>> "netstat"
>>
>>> 
> Please: how – exactly – did you perform the upgrade from 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.
# 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 
upgrade -fy; pkg clean -ay

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

Are there any steps I missed? Thanks.


-- 
Regards,
Budi Janto

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 203 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20210504/038f9a7f/attachment.sig>


More information about the freebsd-questions mailing list