LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   slackware libraries messed up with every kernel upgrade? (https://www.linuxquestions.org/questions/slackware-14/slackware-libraries-messed-up-with-every-kernel-upgrade-4175711242/)

however 04-25-2022 06:55 AM

slackware libraries messed up with every kernel upgrade?
 
Hello folks,

i have been getting unusual missing-library-responses when launching certain packages.

A few months ago, it started with
- kernel 5.14 - loss of vga/graphic card drivers and aegisub stopped launching;
- kernel 5.15 - vga drivers issue fixed;
- kernel 5.16 - loss of kmail and pointer/mouse. Skypeforlinux won't launch unless i pass the "chmod 1777 /dev/shm" command to fiddle with RAM memory;
- kernel 5.17 (current) - the pointer issue fixed however, several packages won't launch because of, apparently, missing libraries (and skype still need the tweak to launch).

Just a few examples, although it seems that the list gets bigger with each kernel upgrade:

Code:

bash-5.1$ /usr/bin/darktable
/usr/bin/darktable: error while loading shared libraries: libjasper.so.4: cannot open shared object file: No such file or directory

bash-5.1$ kmail
kmail: error while loading shared libraries: libKF5Mime.so.5: cannot open shared object file: No such file or directory

bash-5.1$ aegisub
aegisub: error while loading shared libraries: libicuuc.so.69: cannot open shared object file: No such file or directory

bash-5.1$
bash-5.1$ ./RawTherapee_5.8.AppImage
AILIBDIR=/tmp/tmp.xG9GLH5dr0
deleting /tmp/tmp.xG9GLH5dr0/libxcb-dri3.so*
System stdc++ library: "/usr/lib64/libstdc++.so.6"
System stdc++ library version: "3.4.29"
Bundled stdc++ library version: "3.4.19"
Newest stdc++ library version: "3.4.29"
Using system stdc++ library
atomiclib: /usr/lib64/libatomic.so.1
Checking versions of library "libfontconfig"
  system library: "/usr/lib64/libfontconfig.so.1.12.0" (libfontconfig.so.1.12.0)
  system library version: 1.12.0
  ailib: "/tmp/.mount_RawTheTaL8jf/usr/lib/libfontconfig.so.1.11.1"
  bundled library: "/tmp/.mount_RawTheTaL8jf/usr/lib/libfontconfig.so.1.11.1" (libfontconfig.so.1.11.1)
  bundled library version: 1.11.1
  newest library version: "1.12.0"
Removing bundled "libfontconfig"
removed '/tmp/tmp.xG9GLH5dr0/libfontconfig.so.1'
removed '/tmp/tmp.xG9GLH5dr0/libfontconfig.so.1.11.1'
Checking versions of library "libfreetype"
  system library: "/usr/lib64/libfreetype.so.6.18.2" (libfreetype.so.6.18.2)
  system library version: 6.18.2
  ailib: "/tmp/.mount_RawTheTaL8jf/usr/lib/libfreetype.so.6.14.0"
  bundled library: "/tmp/.mount_RawTheTaL8jf/usr/lib/libfreetype.so.6.14.0" (libfreetype.so.6.14.0)
  bundled library version: 6.14.0
  newest library version: "6.18.2"
Removing bundled "libfreetype"
removed '/tmp/tmp.xG9GLH5dr0/libfreetype.so.6'
removed '/tmp/tmp.xG9GLH5dr0/libfreetype.so.6.14.0'
DO_UPDATE: 1
GTK_PATH=/tmp/.mount_RawTheTaL8jf/usr/lib/gtk-2.0
GTK_IM_MODULE_FILE=/tmp/.mount_RawTheTaL8jf/usr/lib/gtk-2.0:/tmp/.mount_RawTheTaL8jf/usr/lib/gtk-2.0
PANGO_LIBDIR=/tmp/.mount_RawTheTaL8jf/usr/lib
        linux-vdso.so.1 (0x00007ffc5cdd9000)
        libcanberra-gtk3.so.0 => /tmp/tmp.xG9GLH5dr0/libcanberra-gtk3.so.0 (0x00007f33c7400000)
        libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007f33c72bf000)
        libcanberra.so.0 => /tmp/tmp.xG9GLH5dr0/libcanberra.so.0 (0x00007f33c7000000)
        libgtk-3.so.0 => /tmp/tmp.xG9GLH5dr0/libgtk-3.so.0 (0x00007f33c6600000)
        libgdk-3.so.0 => /tmp/tmp.xG9GLH5dr0/libgdk-3.so.0 (0x00007f33c6200000)
        libatk-1.0.so.0 => /tmp/tmp.xG9GLH5dr0/libatk-1.0.so.0 (0x00007f33c5e00000)
        libgio-2.0.so.0 => /tmp/tmp.xG9GLH5dr0/libgio-2.0.so.0 (0x00007f33c5a00000)
        libpangocairo-1.0.so.0 => /tmp/tmp.xG9GLH5dr0/libpangocairo-1.0.so.0 (0x00007f33c5600000)
        libgdk_pixbuf-2.0.so.0 => /tmp/tmp.xG9GLH5dr0/libgdk_pixbuf-2.0.so.0 (0x00007f33c5200000)
        libcairo-gobject.so.2 => /tmp/tmp.xG9GLH5dr0/libcairo-gobject.so.2 (0x00007f33c4e00000)
        libpango-1.0.so.0 => /tmp/tmp.xG9GLH5dr0/libpango-1.0.so.0 (0x00007f33c4a00000)
        libcairo.so.2 => /tmp/tmp.xG9GLH5dr0/libcairo.so.2 (0x00007f33c4600000)
        libgobject-2.0.so.0 => /tmp/tmp.xG9GLH5dr0/libgobject-2.0.so.0 (0x00007f33c4200000)
        libglib-2.0.so.0 => /tmp/tmp.xG9GLH5dr0/libglib-2.0.so.0 (0x00007f33c3e00000)
        libexpat.so.1 => /usr/lib64/libexpat.so.1 (0x00007f33c728f000)
        libatomic.so.1 => /tmp/tmp.xG9GLH5dr0/libatomic.so.1 (0x00007f33c3a00000)
        libfftw3f.so.3 => /tmp/tmp.xG9GLH5dr0/libfftw3f.so.3 (0x00007f33c3600000)
        libfftw3f_omp.so.3 => /tmp/tmp.xG9GLH5dr0/libfftw3f_omp.so.3 (0x00007f33c3200000)
        libgiomm-2.4.so.1 => /tmp/tmp.xG9GLH5dr0/libgiomm-2.4.so.1 (0x00007f33c2e00000)
        libglibmm-2.4.so.1 => /tmp/tmp.xG9GLH5dr0/libglibmm-2.4.so.1 (0x00007f33c2a00000)
        libsigc-2.0.so.0 => /tmp/tmp.xG9GLH5dr0/libsigc-2.0.so.0 (0x00007f33c2600000)
        libgthread-2.0.so.0 => /tmp/tmp.xG9GLH5dr0/libgthread-2.0.so.0 (0x00007f33c2200000)
        libgtkmm-3.0.so.1 => /tmp/tmp.xG9GLH5dr0/libgtkmm-3.0.so.1 (0x00007f33c1a00000)
        libatkmm-1.6.so.1 => /tmp/tmp.xG9GLH5dr0/libatkmm-1.6.so.1 (0x00007f33c1600000)
        libgdkmm-3.0.so.1 => /tmp/tmp.xG9GLH5dr0/libgdkmm-3.0.so.1 (0x00007f33c1200000)
        libpangomm-1.4.so.1 => /tmp/tmp.xG9GLH5dr0/libpangomm-1.4.so.1 (0x00007f33c0e00000)
        libcairomm-1.0.so.1 => /tmp/tmp.xG9GLH5dr0/libcairomm-1.0.so.1 (0x00007f33c0a00000)
        libiptcdata.so.0 => /tmp/tmp.xG9GLH5dr0/libiptcdata.so.0 (0x00007f33c0600000)
        libjpeg.so.62 => /tmp/tmp.xG9GLH5dr0/libjpeg.so.62 (0x00007f33c0200000)
        liblcms2.so.2 => /tmp/tmp.xG9GLH5dr0/liblcms2.so.2 (0x00007f33bfe00000)
        libpng15.so.15 => /tmp/tmp.xG9GLH5dr0/libpng15.so.15 (0x00007f33bfa00000)
        libz.so.1 => /lib64/libz.so.1 (0x00007f33c726f000)
        libtiff.so.5 => /tmp/tmp.xG9GLH5dr0/libtiff.so.5 (0x00007f33bf600000)
        liblensfun.so.1 => /tmp/tmp.xG9GLH5dr0/liblensfun.so.1 (0x00007f33bf200000)
        librsvg-2.so.2 => /tmp/tmp.xG9GLH5dr0/librsvg-2.so.2 (0x00007f33bee00000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f33c6f1c000)
        libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f33bebec000)
        libgomp.so.1 => /tmp/tmp.xG9GLH5dr0/libgomp.so.1 (0x00007f33be800000)
        libgcc_s.so.1 => /usr/lib64/libgcc_s.so.1 (0x00007f33c7252000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f33c724d000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f33be5e6000)
        libvorbisfile.so.3 => /tmp/tmp.xG9GLH5dr0/libvorbisfile.so.3 (0x00007f33be200000)
        libvorbis.so.0 => /tmp/tmp.xG9GLH5dr0/libvorbis.so.0 (0x00007f33bde00000)
        libogg.so.0 => /tmp/tmp.xG9GLH5dr0/libogg.so.0 (0x00007f33bda00000)
        libtdb.so.1 => /tmp/tmp.xG9GLH5dr0/libtdb.so.1 (0x00007f33bd600000)
        libltdl.so.7 => /tmp/tmp.xG9GLH5dr0/libltdl.so.7 (0x00007f33bd200000)
        libxcb.so.1 => /tmp/tmp.xG9GLH5dr0/libxcb.so.1 (0x00007f33bce00000)
        libgmodule-2.0.so.0 => /tmp/tmp.xG9GLH5dr0/libgmodule-2.0.so.0 (0x00007f33bca00000)
        libXi.so.6 => /tmp/tmp.xG9GLH5dr0/libXi.so.6 (0x00007f33bc600000)
        libXfixes.so.3 => /tmp/tmp.xG9GLH5dr0/libXfixes.so.3 (0x00007f33bc200000)
        libatk-bridge-2.0.so.0 => /tmp/tmp.xG9GLH5dr0/libatk-bridge-2.0.so.0 (0x00007f33bbe00000)
        libwayland-client.so.0 => /tmp/tmp.xG9GLH5dr0/libwayland-client.so.0 (0x00007f33bba00000)
        libepoxy.so.0 => /tmp/tmp.xG9GLH5dr0/libepoxy.so.0 (0x00007f33bb600000)
        libpangoft2-1.0.so.0 => /tmp/tmp.xG9GLH5dr0/libpangoft2-1.0.so.0 (0x00007f33bb200000)
        libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00007f33c65b7000)
        libXinerama.so.1 => /tmp/tmp.xG9GLH5dr0/libXinerama.so.1 (0x00007f33bae00000)
        libXrandr.so.2 => /tmp/tmp.xG9GLH5dr0/libXrandr.so.2 (0x00007f33baa00000)
        libXcursor.so.1 => /tmp/tmp.xG9GLH5dr0/libXcursor.so.1 (0x00007f33ba600000)
        libXcomposite.so.1 => /tmp/tmp.xG9GLH5dr0/libXcomposite.so.1 (0x00007f33ba200000)
        libXdamage.so.1 => /tmp/tmp.xG9GLH5dr0/libXdamage.so.1 (0x00007f33b9e00000)
        libxkbcommon.so.0 => /tmp/tmp.xG9GLH5dr0/libxkbcommon.so.0 (0x00007f33b9a00000)
        libwayland-cursor.so.0 => /tmp/tmp.xG9GLH5dr0/libwayland-cursor.so.0 (0x00007f33b9600000)
        libwayland-egl.so.1 => /tmp/tmp.xG9GLH5dr0/libwayland-egl.so.1 (0x00007f33b9200000)
        libXext.so.6 => /tmp/tmp.xG9GLH5dr0/libXext.so.6 (0x00007f33b8e00000)
        librt.so.1 => /lib64/librt.so.1 (0x00007f33c7240000)
        libffi.so.6 => /tmp/tmp.xG9GLH5dr0/libffi.so.6 (0x00007f33b8a00000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f33c7239000)
        libpcre.so.1 => /tmp/tmp.xG9GLH5dr0/libpcre.so.1 (0x00007f33b8600000)
        libselinux.so.1 => /tmp/tmp.xG9GLH5dr0/libselinux.so.1 (0x00007f33b8200000)
        libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f33c7226000)
        libmount.so.1 => /tmp/tmp.xG9GLH5dr0/libmount.so.1 (0x00007f33b7e00000)
        libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007f33c64f0000)
        libpixman-1.so.0 => /tmp/tmp.xG9GLH5dr0/libpixman-1.so.0 (0x00007f33b7a00000)
        libEGL.so.1 => /tmp/tmp.xG9GLH5dr0/libEGL.so.1 (0x00007f33b7600000)
        libxcb-shm.so.0 => /tmp/tmp.xG9GLH5dr0/libxcb-shm.so.0 (0x00007f33b7200000)
        libxcb-render.so.0 => /tmp/tmp.xG9GLH5dr0/libxcb-render.so.0 (0x00007f33b6e00000)
        libXrender.so.1 => /tmp/tmp.xG9GLH5dr0/libXrender.so.1 (0x00007f33b6a00000)
        libGL.so.1 => /usr/lib64/libGL.so.1 (0x00007f33c6172000)
        libthai.so.0 => /tmp/tmp.xG9GLH5dr0/libthai.so.0 (0x00007f33b6600000)
        libfribidi.so.0 => /tmp/tmp.xG9GLH5dr0/libfribidi.so.0 (0x00007f33b6200000)
        liblzma.so.5 => /tmp/tmp.xG9GLH5dr0/liblzma.so.5 (0x00007f33b5e00000)
        libcroco-0.6.so.3 => /tmp/tmp.xG9GLH5dr0/libcroco-0.6.so.3 (0x00007f33b5a00000)
        libxml2.so.2 => /tmp/tmp.xG9GLH5dr0/libxml2.so.2 (0x00007f33b5600000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f33c7644000)
        libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007f33c6138000)
        libXau.so.6 => /tmp/tmp.xG9GLH5dr0/libXau.so.6 (0x00007f33b5200000)
        libatspi.so.0 => /tmp/tmp.xG9GLH5dr0/libatspi.so.0 (0x00007f33b4e00000)
        libdbus-1.so.3 => /usr/lib64/libdbus-1.so.3 (0x00007f33c60e2000)
        libharfbuzz.so.0 => /tmp/tmp.xG9GLH5dr0/libharfbuzz.so.0 (0x00007f33b4a00000)
        libblkid.so.1 => /tmp/tmp.xG9GLH5dr0/libblkid.so.1 (0x00007f33b4600000)
        libuuid.so.1 => /lib64/libuuid.so.1 (0x00007f33c7213000)
        libbz2.so.1 => /tmp/tmp.xG9GLH5dr0/libbz2.so.1 (0x00007f33b4200000)
        libpng16.so.16 => /usr/lib64/libpng16.so.16 (0x00007f33c60ac000)
        libbrotlidec.so.1 => /usr/lib64/libbrotlidec.so.1 (0x00007f33c609f000)
        libGLdispatch.so.0 => /tmp/tmp.xG9GLH5dr0/libGLdispatch.so.0 (0x00007f33b3e00000)
        libGLX.so.0 => /tmp/tmp.xG9GLH5dr0/libGLX.so.0 (0x00007f33b3a00000)
        libelogind.so.0 => /lib64/libelogind.so.0 (0x00007f33c5956000)
        libgraphite2.so.3 => /tmp/tmp.xG9GLH5dr0/libgraphite2.so.3 (0x00007f33b3600000)
        libbrotlicommon.so.1 => /usr/lib64/libbrotlicommon.so.1 (0x00007f33c607c000)
        libcap.so.2 => /tmp/tmp.xG9GLH5dr0/libcap.so.2 (0x00007f33b3200000)
        libattr.so.1 => /tmp/tmp.xG9GLH5dr0/libattr.so.1 (0x00007f33b2e00000)

==========

LD_LIBRARY_PATH: /tmp/tmp.xG9GLH5dr0:/usr/lib::/tmp/.mount_RawTheTaL8jf/usr/lib/gdk-pixbuf-2.0/loaders
DIRNAME: /tmp/.mount_RawTheTaL8jf/usr/bin
DESKTOPFILE_NAME: rawtherapee.desktop
APP_FULL: RawTherapee
APP: RawTherapee
APP_FULL: RawTherapee
APP: RawTherapee
BIN: /tmp/.mount_RawTheTaL8jf/usr/bin/rawtherapee
DESKTOPINTEGRATION:

(process:13045): Gtk-WARNING **: 13:53:31.069: Locale not supported by C library.
        Using the fallback 'C' locale.
/tmp/.mount_RawTheTaL8jf/usr/bin/rawtherapee: symbol lookup error: /usr/lib64/libfreetype.so.6: undefined symbol: hb_ot_tags_from_script_and_language
bash-5.1$

does anyone have any ideas why this is happening? or, is it just my box?

Thanks in advance for any suggestions

p.s.: I recall that Ponce confirmed that 'aegisub' issue was probably my system as not "pure slackware" and therefore other packages may have caused conflicts, etc... and he was right because I installed it on a "virgin-slackware" laptop and it launched however, after a few slackpkg update/upgrades (and no other packages installed so still virgin) it stopped launching with another missing-library error, below:
Code:

bash-5.1$ aegisub
aegisub: error while loading shared libraries: libboost_fylesystem.so.1.75.0: cannot open shared object file: No such file or directory
bash-5.1$

kmail starts as usual on the laptop

Windu 04-25-2022 08:00 AM

Are you mixing up packages from SLackware 15.0 and -current perhaps?
Kmail should normally not complain about libKF5Mime unless you mix up packages or do an incomplete upgrade. Check your configuration, make sure you use the repository that matches with your installed Slackware.

Darktable, aegisub are packages that you yourself have compiled a while ago. When Slackware-current upgrades its libraries and some of them increase their ABI version, your self-compiled binaries fail until you compile them again. That's an easy and fast fix.

As for appimages - Slackware does not support them so you're basically on your own if they give you issues.

hazel 04-25-2022 08:32 AM

I can't see any way that a kernel upgrade could affect precompiled libraries. In theory you can run any kernel with any set of mutually consistent libraries. Updating the kernel headers might affect packages that are locally compiled afterwards because some source code might directly reference a kernel header.

bassmadrigal 04-25-2022 11:09 AM

Quote:

Originally Posted by hazel (Post 6348526)
Updating the kernel headers might affect packages that are locally compiled afterwards because some source code might directly reference a kernel header.

Even then, this is extremely unlikely. I still have the 4.4 kernel headers installed on my 14.2 system, but I'm running a 5.10 kernel.

however 04-25-2022 03:12 PM

Quote:

Originally Posted by Windu (Post 6348515)
Are you mixing up packages from SLackware 15.0 and -current perhaps?
Kmail should normally not complain about libKF5Mime unless you mix up packages or do an incomplete upgrade. Check your configuration, make sure you use the repository that matches with your installed Slackware.

No, i am not using slack15 packages. The slackpkg configuration file is correct and download the 'slackware current' packages. I also tried to
Code:

slackpkg update && slackpkg installpkg kmail
to have the original libraries and it still won't launch

Quote:

Darktable, aegisub are packages that you yourself have compiled a while ago. When Slackware-current upgrades its libraries and some of them increase their ABI version, your self-compiled binaries fail until you compile them again. That's an easy and fast fix.
I did try to compile darktable again, from ponce's repository and then manually (building my own latest darktable package) and this is what it returned, from Ponce-s repo
Code:

/usr/bin/ld: /usr/lib64/libGraphicsMagick.so: undefined reference to `jas_matrix_create'
collect2: error: ld returned 1 exit status
make[2]: *** [bin/CMakeFiles/darktable.dir/build.make:164: bin/darktable] Error 1
make[2]: Leaving directory '/tmp/SBo/darktable-3.4.0/build'
make[1]: *** [CMakeFiles/Makefile2:1728: bin/CMakeFiles/darktable.dir/all] Error 2
make[1]: Leaving directory '/tmp/SBo/darktable-3.4.0/build'
make: *** [Makefile:156: all] Error 2

darktable:
Would you like to continue processing the rest of the
queue or would you like to abort?  If this failed
package is a dependency of another package in the queue
then it may not make sense to continue.

(Y)es to continue, (N)o to abort, (R)etry the build?:

and then from a manual build with the latest darktable 3.8.1 (this was almost successful because it configured ok, then it built 100% and it stopped when creating the /tmp/file.tgz ) (i used the source from their webpage and the SlackBuild from Ponce's repo editing the darktable.SlackBuild file and adjusting the package version from 3.4.0 to 3.8.1)
Code:

-- Installing: /tmp/SBo/package-darktable/usr/share/darktable/tools/common.sh
-- Installing: /tmp/SBo/package-darktable/usr/share/darktable/tools/purge_from_cache.sh
-- Installing: /tmp/SBo/package-darktable/usr/share/darktable/tools/purge_non_existing_images.sh
-- Installing: /tmp/SBo/package-darktable/usr/share/darktable/tools/purge_unused_tags.sh
cp: cannot stat 'doc/ChangeLog': No such file or directory
cp: cannot stat 'doc/TODO': No such file or directory
bash-5.1#

Quote:

As for appimages - Slackware does not support them so you're basically on your own if they give you issues.
the thing is, appimages were running ok before; i guess i will have to wait for their upgrade then


Quote:

hazel
I can't see any way that a kernel upgrade could affect precompiled libraries. In theory you can run any kernel with any set of mutually consistent libraries. Updating the kernel headers might affect packages that are locally compiled afterwards because some source code might directly reference a kernel header.
I guess that what I was trying to say is "upgrading the whole kernel-set" (source, header and firmware)

Quote:

bassmadrigal
Even then, this is extremely unlikely. I still have the 4.4 kernel headers installed on my 14.2 system, but I'm running a 5.10 kernel.
a step too much for my technical reach, aka: I don't really understand what that means but, thank you for your input

0XBF 04-25-2022 04:01 PM

Quote:

Originally Posted by however (Post 6348638)
Code:

-- Installing: /tmp/SBo/package-darktable/usr/share/darktable/tools/common.sh
-- Installing: /tmp/SBo/package-darktable/usr/share/darktable/tools/purge_from_cache.sh
-- Installing: /tmp/SBo/package-darktable/usr/share/darktable/tools/purge_non_existing_images.sh
-- Installing: /tmp/SBo/package-darktable/usr/share/darktable/tools/purge_unused_tags.sh
cp: cannot stat 'doc/ChangeLog': No such file or directory
cp: cannot stat 'doc/TODO': No such file or directory
bash-5.1#


I can't speak to the other issues you have in this thread, but all thats happening here is that there is no doc/ChangeLog or doc/TODO file in the source tarball for 3.8.1 Perhaps this used to exist for 3.4.0 but got removed? The best way forward would be to extract the tarball yourself and check whats in the doc/ directory. Maybe naming is changed or the files are actually removed? Then update your slackbuild to use the proper locations, or remove copying those if they no longer exist (you'll find the cp command somewhere after 'make install').

Tonus 04-26-2022 12:19 AM

I would try
Code:

slackpkg install slackware64
Some packages might have been missed.

however 04-26-2022 03:12 AM

Quote:

Originally Posted by Tonus (Post 6348707)
I would try
Code:

slackpkg install slackware64
Some packages might have been missed.

hi there,
thank you for the input. I have already tried it and it still didn't solve kmail to launch or any of the other issues.

The downside of executing 'slackpkg install slackware64' is that it re-installs all the games that I had taken a long time to remove.

I guess as frustrating as this may be, soon i will have to revert to a clean installation

however 04-26-2022 03:36 AM

Quote:

Originally Posted by 0XBF (Post 6348652)
I can't speak to the other issues you have in this thread, but all thats happening here is that there is no doc/ChangeLog or doc/TODO file in the source tarball for 3.8.1 Perhaps this used to exist for 3.4.0 but got removed? The best way forward would be to extract the tarball yourself and check whats in the doc/ directory. Maybe naming is changed or the files are actually removed? Then update your slackbuild to use the proper locations, or remove copying those if they no longer exist (you'll find the cp command somewhere after 'make install').

Thank you so much. I learned something new. I did as you suggested and then edited the ./slackbuild file and the build completed successfully creating the new package.

However, when i install it and try to launch it:
Code:

bash-5.1$ /usr/bin/darktable
/usr/bin/darktable: error while loading shared libraries: libjasper.so.4: cannot open shared object file: No such file or directory
bash-5.1$

Regards,

Tonus 04-26-2022 03:37 AM

I first would try with clean profile (despite it looks like an install issue) and --reinstall at last.

however 04-26-2022 03:41 AM

Quote:

Originally Posted by Tonus (Post 6348747)
I first would try with clean profile (despite it looks like an install issue) and --reinstall at last.

forgive my ignorance, but what is a 'clean profile' and how do you achieve it?

do you mean 'slackpkg clean-system'?

however 04-26-2022 06:20 AM

I reluctantly decided to do a 'slackpkg clean-system' and it seems to get somewhere.
So, now, i have a 'clean slackware profile' and nothing else installed except the slackware64 packages; I launch kmail and I get this
Code:

bash-5.1$ kmail
Connection to speech-dispatcher failed
Connection to speech-dispatcher failed
Connection to speech-dispatcher failed
Connection to speech-dispatcher failed
Connection to speech-dispatcher failed
Connection to speech-dispatcher failed
Connection to speech-dispatcher failed
Connection to speech-dispatcher failed
Connection to speech-dispatcher failed
[2557:2590:0426/131204.328537:ERROR:platform_shared_memory_region_posix.cc(250)] Creating shared memory in /dev/shm/.org.chromium.Chromium.ch8kEM failed: Permission denied (13)
[2557:2590:0426/131204.328609:ERROR:platform_shared_memory_region_posix.cc(253)] Unable to access(W_OK|X_OK) /dev/shm: Permission denied (13)
[2557:2590:0426/131204.328625:FATAL:platform_shared_memory_region_posix.cc(255)] This is frequently caused by incorrect permissions on /dev/shm.  Try 'sudo chmod 1777 /dev/shm' to fix.
Trace/breakpoint trap

so I run
Code:

bash-5.1$ su
Password:
bash-5.1# chmod 1777 /dev/shm

and it launches ok.
But how is this now happening? (which means that at every system reboot I have to fiddle with the memory)

Petri Kaukasoina 04-26-2022 07:06 AM

You should have this line in /etc/fstab
Code:

tmpfs            /dev/shm        tmpfs      defaults        0  0

however 04-26-2022 07:25 AM

Quote:

Originally Posted by Petri Kaukasoina (Post 6348779)
You should have this line in /etc/fstab
Code:

tmpfs            /dev/shm        tmpfs      defaults        0  0

thank you, this solved the issue and kmail starts as usual

I guess, I made the assumptions of libraries being messed up by updates/upgrades when, perhaps, it's just that the previously compiled 3rd party packages became outdated with each system upgrade.

I will mark this thread as 'Solved' and, I thank again the kind members for the insights and the developers for the time they devote to keep slackware the best Linux distro out there.

Regards,


All times are GMT -5. The time now is 06:50 PM.