You are not logged in.

#1 2019-06-21 11:26:38

fiddlinmacx
Member
Registered: 2011-03-02
Posts: 89

[Solved] error while loading shared libraries: libip4tc.so.0

When I -Syu'ed this morning, iptables, nftables, etc. upgraded and a bunch of post-install hooks failed with messages like:

[2019-06-21 07:06] [ALPM] running 'systemd-binfmt.hook'...
[2019-06-21 07:06] [ALPM-SCRIPTLET] /usr/lib/systemd/systemd-binfmt: error while loading shared libraries: libip4tc.so.0: cannot open shared object file: No such file or directory
[2019-06-21 07:06] [ALPM] running 'systemd-daemon-reload.hook'...
[2019-06-21 07:06] [ALPM-SCRIPTLET] /usr/bin/systemctl: error while loading shared libraries: libip4tc.so.0: cannot open shared object file: No such file or directory
[2019-06-21 07:06] [ALPM] running 'systemd-sysusers.hook'...
[2019-06-21 07:06] [ALPM-SCRIPTLET] /usr/bin/systemd-sysusers: error while loading shared libraries: libip4tc.so.0: cannot open shared object file: No such file or directory
[2019-06-21 07:06] [ALPM] running 'systemd-tmpfiles.hook'...
[2019-06-21 07:06] [ALPM-SCRIPTLET] /usr/bin/systemd-tmpfiles: error while loading shared libraries: libip4tc.so.0: cannot open shared object file: No such file or directory

the file /usr/lib/libip4tc.so.0 is missing, hence the errors, I suppose. Is this serious? Is this a bug in one of the packages?

Last edited by fiddlinmacx (2019-06-21 14:42:43)

Offline

#2 2019-06-21 11:43:11

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,525
Website

Re: [Solved] error while loading shared libraries: libip4tc.so.0

Either you have a broken mirror or you are doing partial upgrades as systemd was updated at the same time as iptables.  But you have a new version of iptables with an (apparently) stale version of systemd.

What's the output of `pacman -Q systemd`?

Last edited by Trilby (2019-06-21 12:26:58)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2019-06-21 14:40:44

fiddlinmacx
Member
Registered: 2011-03-02
Posts: 89

Re: [Solved] error while loading shared libraries: libip4tc.so.0

Quite right. Thanks. It was a stale systemd that I didn't notice. I sometimes --ignore some things so I don't have to reboot but I should have watched more closely. Mischief managed.

Offline

#4 2019-06-21 14:43:21

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,525
Website

Re: [Solved] error while loading shared libraries: libip4tc.so.0

Doing partial upgrades has nothing to do with needing to reboot.

If you are concerned about kernel modules, you can ensure any you need are loaded before upgrading the kernel, or you can hold/ignore the kernel.  That's about the only safe package to hold back (certainly the only one in [core] or the base group that is safe to hold back).  But doing a partial upgrade and holding back systemd while upgrading everything else is a recipe for catastrophic breakage.

Change that habbit.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#5 2019-06-21 16:33:55

fiddlinmacx
Member
Registered: 2011-03-02
Posts: 89

Re: [Solved] error while loading shared libraries: libip4tc.so.0

I will. Thanks.

Offline

Board footer

Powered by FluxBB