#4426 closed defect (overcomebyevents)
Library locations for amarok, k3b, libcap, and iptables
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | low | Milestone: | |
Component: | BOOK | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description ¶
A ticket in LFS led me to check library locations in BLFS packages. A .so that is a link to a .so.xx file should be located in /usr/lib, not /lib. What I found in /lib was:
lrwxrwxrwx 1 root root 28 Sep 1 16:24 libamarok-sqlcollection.so -> libamarok-sqlcollection.so.1 lrwxrwxrwx 1 root root 26 Sep 1 16:24 libamarok-transcoding.so -> libamarok-transcoding.so.1 lrwxrwxrwx 1 root root 18 Sep 1 16:24 libamarokcore.so -> libamarokcore.so.1 lrwxrwxrwx 1 root root 17 Sep 1 16:24 libamaroklib.so -> libamaroklib.so.1 lrwxrwxrwx 1 root root 23 Sep 1 16:24 libamarokocsclient.so -> libamarokocsclient.so.4 lrwxrwxrwx 1 root root 17 Sep 1 16:24 libamarokpud.so -> libamarokpud.so.1 lrwxrwxrwx 1 root root 20 Sep 1 16:24 libamarokshared.so -> libamarokshared.so.1 lrwxrwxrwx 1 root root 11 Aug 20 16:55 libcap.so -> libcap.so.2 lrwxrwxrwx 1 root root 17 Sep 4 15:11 libip4tc.so -> libip4tc.so.0.1.0 lrwxrwxrwx 1 root root 17 Sep 4 15:11 libip6tc.so -> libip6tc.so.0.1.0 lrwxrwxrwx 1 root root 15 Sep 4 15:11 libipq.so -> libipq.so.0.0.0 lrwxrwxrwx 1 root root 16 Sep 4 15:11 libiptc.so -> libiptc.so.0.0.0 lrwxrwxrwx 1 root root 17 Sep 1 13:50 libk3bdevice.so -> libk3bdevice.so.6 lrwxrwxrwx 1 root root 14 Sep 1 13:50 libk3blib.so -> libk3blib.so.6 lrwxrwxrwx 1 root root 16 Aug 15 23:59 libkmod.so -> libkmod.so.2.2.4 lrwxrwxrwx 1 root root 16 Aug 15 23:56 liblzma.so -> liblzma.so.5.0.5 lrwxrwxrwx 1 root root 20 Sep 4 15:11 libxtables.so -> libxtables.so.10.0.0
I'm not sure *any* of the libamarok or k3b libraries should be in /lib. Both are cmake apps.
Change History (9)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
As for libcap, the big patch I've sent you privately a while ago should've addressed that, but you didn't seem to apply most of it, even some trivial fixes :(
comment:3 by , 11 years ago
I install Amarok using -DCMAKE_INSTALL_PREFIX=$KDE_PREFIX (where $KDE_PREFIX is /opt/kde), and don't get any files from Amarok in /lib.
comment:4 by , 11 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
I'll recheck my installation and update this ticket as appropriate.
comment:5 by , 11 years ago
I also found:
lrwxrwxrwx 1 root root 17 15 déc. 19:51 /lib/libpamc.so -> libpamc.so.0.82.1 lrwxrwxrwx 1 root root 21 15 déc. 19:51 /lib/libpam_misc.so -> libpam_misc.so.0.82.0 lrwxrwxrwx 1 root root 16 15 déc. 19:51 /lib/libpam.so -> libpam.so.0.83.1
but this has been changed by Fernando already at r12447 together with instructions for libcap and iptables. Shouldn't this ticket be closed?
comment:7 by , 11 years ago
I've verified that k3b and amarok are OK. The libraries in /lib were due to an error in my scripts.
kmod and xz have been fixed.
Still looking at libtirpc, PAM, iptables, and libcap.
comment:8 by , 11 years ago
Resolution: | → overcomebyevents |
---|---|
Status: | assigned → closed |
I checked the packages and all libraries seem to be in the correct position now. Closing.
Amarok and K3B libraries should be in $KDE_PREFIX/lib. If you didn't set $KDE_PREFIX, then set it or replace it with an actual prefix like /usr.
Iptables page has:
which moves non-versioned .so files to /usr/lib.
See lfs-systemd instructions for kmod and xz modifications to move the non-versioned libraries out of /lib.