Inkscape.org
Beyond the Basics "Function plotter" is broken in AppImage (GLIBC problem) ?
  1. #1
    dperf dperf @dperf

    Hello, I suppose "Function plotter" is broken in AppImage packages (at least 1.4,1.3,1.2). When I try to use it I get error:

    ImportError: /tmp/.mount_InkscaWrwav7/usr/bin/../lib/libc.so.6: version `GLIBC_2.32' not found (required by /lib/x86_64-linux-gnu/librt.so.1)

    So in AppImage librt.so.1 build with GLIBC_2.31 and it has two librt.so.1 :

    $ find  /tmp/.mount_InkscaWrwav7/ -name librt.so.1 -ls
         1814      0 lrwxrwxrwx   1 root     root           13 Apr 30  2024 /tmp/.mount_InkscaWrwav7/lib/x86_64-linux-gnu/librt.so.1 -> librt-2.31.so
    208868631     39 -rw-r--r--   1 root     root        39488 Oct  9 20:14 /tmp/.mount_InkscaWrwav7/usr/lib/librt.so.1

    But inkscape doesn't use them, it uses /lib/x86_64-linux-gnu/librt.so.1
    [pid 334245] openat(AT_FDCWD, "/tmp/.mount_InkscaWrwav7/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    [pid 334245] openat(AT_FDCWD, "/lib/x86_64-linux-gnu/librt.so.1", O_RDONLY|O_CLOEXEC) = 3

    where /lib/x86_64-linux-gnu/librt.so.1 is librt.so.1 from my system:

    $ cat /etc/os-release
    NAME="Ubuntu"
    VERSION="20.10 (Groovy Gorilla)"
    ID=ubuntu
    ID_LIKE=debian
    PRETTY_NAME="Ubuntu 20.10"
    VERSION_ID="20.10"
    HOME_URL="https://www.ubuntu.com/"
    SUPPORT_URL="https://help.ubuntu.com/"
    BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
    PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
    VERSION_CODENAME=groovy
    UBUNTU_CODENAME=groovy

    Is this a bug or it is possible force inkscape to use librt.so.1 from AppImage ?

     

Inkscape Inkscape.org Inkscape Forum Beyond the Basics "Function plotter" is broken in AppImage (GLIBC problem) ?