https://bugs.kde.org/show_bug.cgi?id=417791
Bug ID: 417791
Summary: Snap package of cantor doesn't work on RHEL 7
Product: neon
Version: unspecified
Platform: Other
OS: Linux
Status: REPORTED
Severity: crash
Priority: NOR
Component: Snaps
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
Snap package of cantor doesn't work on RHEL 7
SUMMARY
The snap package of cantor doesn't work at all on RHEL 7.7.
Fedora 30 is not affected.
STEPS TO REPRODUCE
1. Install the latest version of snapd from the EPEL7 testing repo (tried the
latest stable version of snapd from EPEL7 as well): yum
--disableplugin='priorities' --enablerepo='epel*' install snap-confine snapd
snapd-selinux snappy
2. Create a symlink: sudo ln -s "/var/lib/snapd/snap" "/snap"
3. Install Snap Store: sudo snap install snap-store
4. Install cantor (any version: stable 19.08.0, candidate 19.08.3, beta
17.04.3, edge master+97ffb4e) on RHEL 7.7 via Snap Store.
5. Run "cantor" or "/var/lib/snapd/snap/bin/cantor"
OBSERVED RESULT
$ cantor
cantor: error while loading shared libraries: libQt5Core.so.5: cannot open
shared object file: No such file or directory
$ /var/lib/snapd/snap/bin/cantor
cantor: error while loading shared libraries: libQt5Core.so.5: cannot open
shared object file: No such file or directory
$ /snap/bin/cantor
cantor: error while loading shared libraries: libQt5Core.so.5: cannot open
shared object file: No such file or directory
Please note that the snap package of Qalculate works without any problem.
EXPECTED RESULT
Working application.
SOFTWARE/OS VERSIONS
Windows: N/A
macOS: N/A
Linux/KDE Plasma: RHEL 7.7/Linux 3.10.0-1062.9.1.el7.x86_64/snapd:
2.43.3/kde-frameworks-5-core18:kde-frameworks-5-core18-slot
(available in About System)
KDE Plasma Version: N/A
KDE Frameworks Version: N/A
Qt Version: N/A
ADDITIONAL INFORMATION
EL7
$ rpm -q --qf "%{NAME}: %{VERSION}\n" snap-confine snapd snapd-selinux snappy
snap-confine: 2.43.3
snapd: 2.43.3
snapd-selinux: 2.43.3
snappy: 1.1.0
$ which cantor
/var/lib/snapd/snap/bin/cantor
$ snap connections cantor
Interface Plug Slot
Notes
content[kde-frameworks-5-core18-all] cantor:kde-frameworks-5-plug
kde-frameworks-5-core18:kde-frameworks-5-core18-slot -
dbus -
cantor:session-dbus-interface -
desktop cantor:desktop :desktop
-
desktop-legacy cantor:desktop-legacy
:desktop-legacy -
home cantor:home :home
-
network cantor:network :network
-
network-bind cantor:network-bind
:network-bind -
opengl cantor:opengl :opengl
-
pulseaudio cantor:pulseaudio :pulseaudio
-
unity7 cantor:unity7 :unity7
-
x11 cantor:x11 :x11
-
$ find /var/lib/snapd/snap/kde-frameworks-5-core18 -xtype f -iname
'libQt5Core.so.5*' 2>/dev/null
/var/lib/snapd/snap/kde-frameworks-5-core18/30/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
/var/lib/snapd/snap/kde-frameworks-5-core18/30/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.12
/var/lib/snapd/snap/kde-frameworks-5-core18/30/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.12.3
/var/lib/snapd/snap/kde-frameworks-5-core18/32/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
/var/lib/snapd/snap/kde-frameworks-5-core18/32/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.12
/var/lib/snapd/snap/kde-frameworks-5-core18/32/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.12.3
$ snap info cantor
name: cantor
summary: KDE Frontend to Mathematical Software
publisher: KDE✓
store-url: https://snapcraft.io/cantor
contact: https://bugs.kde.org/enter_bug.cgi?product=neon&component=Snaps
license: unset
description: |
Cantor is a front-end to powerful mathematics and statistics packages. Cantor
integrates them into
the KDE Platform and provides a nice, worksheet-based, graphical user
interface. It supports
environments for KAlgebra, Lua, Maxima, R, Sage, Octave, Python, Scilab, and
Qalculate!
commands:
- cantor
snap-id: VCjprGsSZiPuV3CmQViE4TvPMKTOlaiL
tracking: latest/stable
refresh-date: today at 12:37 CET
channels:
stable: 19.08.0 2019-08-15 (48) 161MB -
candidate: 19.08.3 2019-11-06 (55) 161MB -
beta: 17.04.3 2017-08-17 (1) 16MB -
edge: master+97ffb4e 2019-07-10 (47) 160MB -
installed: 19.08.0 (48) 161MB -
$ grep -H '' /etc/*release* 2>/dev/null
/etc/os-release:NAME="Red Hat Enterprise Linux Server"
/etc/os-release:VERSION="7.7 (Maipo)"
/etc/os-release:ID="rhel"
/etc/os-release:ID_LIKE="fedora"
/etc/os-release:VARIANT="Server"
/etc/os-release:VARIANT_ID="server"
/etc/os-release:VERSION_ID="7.7"
/etc/os-release:PRETTY_NAME="Red Hat Enterprise Linux"
/etc/os-release:ANSI_COLOR="0;31"
/etc/os-release:CPE_NAME="cpe:/o:redhat:enterprise_linux:7.7:GA:server"
/etc/os-release:HOME_URL="https://www.redhat.com/"
/etc/os-release:BUG_REPORT_URL="https://bugzilla.redhat.com/"
/etc/os-release:
/etc/os-release:REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 7"
/etc/os-release:REDHAT_BUGZILLA_PRODUCT_VERSION=7.7
/etc/os-release:REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
/etc/os-release:REDHAT_SUPPORT_PRODUCT_VERSION="7.7"
/etc/redhat-release:Red Hat Enterprise Linux Server release 7.7 (Maipo)
/etc/system-release:Red Hat Enterprise Linux Server release 7.7 (Maipo)
/etc/system-release-cpe:cpe:/o:redhat:enterprise_linux:7.7:ga:server
--
You are receiving this mail because:
You are watching all bug changes.