Open RungeCC opened 6 months ago
What is the output of ldd /nix/store/81dsqkc6jvgfw250pwmqh9dfw02dbr9j-mathematica-14.0.0/libexec/Mathematica/SystemFiles/Libraries/Linux-x86-64/Qt/lib/libQt6Core.so.6
?
What is the output of ldd /nix/store/81dsqkc6jvgfw250pwmqh9dfw02dbr9j-mathematica-14.0.0/libexec/Mathematica/SystemFiles/Libraries/Linux-x86-64/Qt/lib/libQt6Core.so.6?
It's
/nix/store/81dsqkc6jvgfw250pwmqh9dfw02dbr9j-mathematica-14.0.0/libexec/Mathematica/SystemFiles/Libraries/Linux-x86-64/Qt/lib/libQt6Core.so.6: /nix/store/81dsqkc6jvgfw250pwmqh9dfw02dbr9j-mathematica-14.0.0/libexec/Mathematica/SystemFiles/Links/Databases/Python/executables/Linux-x86-64/distribution/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /nix/store/81dsqkc6jvgfw250pwmqh9dfw02dbr9j-mathematica-14.0.0/libexec/Mathematica/SystemFiles/Libraries/Linux-x86-64/Qt/lib/libQt6Core.so.6)
/nix/store/81dsqkc6jvgfw250pwmqh9dfw02dbr9j-mathematica-14.0.0/libexec/Mathematica/SystemFiles/Libraries/Linux-x86-64/Qt/lib/libQt6Core.so.6: /nix/store/81dsqkc6jvgfw250pwmqh9dfw02dbr9j-mathematica-14.0.0/libexec/Mathematica/SystemFiles/Links/Databases/Python/executables/Linux-x86-64/distribution/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /nix/store/81dsqkc6jvgfw250pwmqh9dfw02dbr9j-mathematica-14.0.0/libexec/Mathematica/SystemFiles/Libraries/Linux-x86-64/Qt/lib/libQt6Core.so.6)
/nix/store/81dsqkc6jvgfw250pwmqh9dfw02dbr9j-mathematica-14.0.0/libexec/Mathematica/SystemFiles/Libraries/Linux-x86-64/Qt/lib/libQt6Core.so.6: /nix/store/81dsqkc6jvgfw250pwmqh9dfw02dbr9j-mathematica-14.0.0/libexec/Mathematica/SystemFiles/Links/Databases/Python/executables/Linux-x86-64/distribution/libstdc++.so.6: version `CXXABI_1.3.11' not found (required by /nix/store/81dsqkc6jvgfw250pwmqh9dfw02dbr9j-mathematica-14.0.0/libexec/Mathematica/SystemFiles/Libraries/Linux-x86-64/Qt/lib/libQt6Core.so.6)
/nix/store/81dsqkc6jvgfw250pwmqh9dfw02dbr9j-mathematica-14.0.0/libexec/Mathematica/SystemFiles/Libraries/Linux-x86-64/Qt/lib/libQt6Core.so.6: /nix/store/81dsqkc6jvgfw250pwmqh9dfw02dbr9j-mathematica-14.0.0/libexec/Mathematica/SystemFiles/Links/Databases/Python/executables/Linux-x86-64/distribution/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /nix/store/81dsqkc6jvgfw250pwmqh9dfw02dbr9j-mathematica-14.0.0/libexec/Mathematica/SystemFiles/Libraries/Linux-x86-64/Qt/lib/libQt6Core.so.6)
/nix/store/81dsqkc6jvgfw250pwmqh9dfw02dbr9j-mathematica-14.0.0/libexec/Mathematica/SystemFiles/Libraries/Linux-x86-64/Qt/lib/libQt6Core.so.6: /nix/store/81dsqkc6jvgfw250pwmqh9dfw02dbr9j-mathematica-14.0.0/libexec/Mathematica/SystemFiles/Links/Databases/Python/executables/Linux-x86-64/distribution/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /nix/store/81dsqkc6jvgfw250pwmqh9dfw02dbr9j-mathematica-14.0.0/libexec/Mathematica/SystemFiles/Libraries/Linux-x86-64/Qt/lib/libQt6Core.so.6)
linux-vdso.so.1 (0x00007ffd71ddb000)
libdl.so.2 => /nix/store/apab5i73dqa09wx0q27b6fbhd1r18ihl-glibc-2.39-31/lib/libdl.so.2 (0x00007f3371902000)
libpthread.so.0 => /nix/store/apab5i73dqa09wx0q27b6fbhd1r18ihl-glibc-2.39-31/lib/libpthread.so.0 (0x00007f33718fd000)
libssl.so.3 => /nix/store/81dsqkc6jvgfw250pwmqh9dfw02dbr9j-mathematica-14.0.0/libexec/Mathematica/SystemFiles/Libraries/Linux-x86-64/libssl.so.3 (0x00007f337184d000)
libcrypto.so.3 => /nix/store/81dsqkc6jvgfw250pwmqh9dfw02dbr9j-mathematica-14.0.0/libexec/Mathematica/SystemFiles/Libraries/Linux-x86-64/libcrypto.so.3 (0x00007f3370a00000)
librt.so.1 => /nix/store/apab5i73dqa09wx0q27b6fbhd1r18ihl-glibc-2.39-31/lib/librt.so.1 (0x00007f3371846000)
libstdc++.so.6 => /nix/store/81dsqkc6jvgfw250pwmqh9dfw02dbr9j-mathematica-14.0.0/libexec/Mathematica/SystemFiles/Links/Databases/Python/executables/Linux-x86-64/distribution/libstdc++.so.6 (0x00007f3370600000)
libm.so.6 => /nix/store/apab5i73dqa09wx0q27b6fbhd1r18ihl-glibc-2.39-31/lib/libm.so.6 (0x00007f3370f1d000)
libgcc_s.so.1 => /nix/store/81dsqkc6jvgfw250pwmqh9dfw02dbr9j-mathematica-14.0.0/libexec/Mathematica/SystemFiles/Links/Databases/Python/executables/Linux-x86-64/distribution/libgcc_s.so.1 (0x00007f3370200000)
libc.so.6 => /nix/store/apab5i73dqa09wx0q27b6fbhd1r18ihl-glibc-2.39-31/lib/libc.so.6 (0x00007f3370013000)
/nix/store/apab5i73dqa09wx0q27b6fbhd1r18ihl-glibc-2.39-31/lib/ld-linux-x86-64.so.2 => /nix/store/apab5i73dqa09wx0q27b6fbhd1r18ihl-glibc-2.39-31/lib64/ld-linux-x86-64.so.2 (0x00007f3371909000)
LD_DEBUG=libs mathematica
gives:
787826: find library=libstdc++.so.6 [0]; searching
787826: search path=/nix/store/81dsqkc6jvgfw250pwmqh9dfw02dbr9j-mathematica-14.0.0/libexec/Mathematica/SystemFiles/Libraries/Linux-x86-64 (RUNPATH from file /nix/store/81dsqkc6jvgfw250pwmqh9dfw02dbr9j-mathematica-14.0.0/libexec/Mathematica/SystemFiles/Kernel/Binaries/Linux-x86-64/WolframKernel)
787826: trying file=/nix/store/81dsqkc6jvgfw250pwmqh9dfw02dbr9j-mathematica-14.0.0/libexec/Mathematica/SystemFiles/Libraries/Linux-x86-64/libstdc++.so.6
787826: search path=/nix/store/81dsqkc6jvgfw250pwmqh9dfw02dbr9j-mathematica-14.0.0/libexec/Mathematica/SystemFiles/Libraries/Linux-x86-64/Qt/lib:/nix/store/1rlvyrvqjq6j5l509k2bfgp6yipa1bdn-dbus-1.14.10-lib/lib:/nix/store/p3ffjixpnfgkqh20nsrc13vrj3yfi0nj-gcc-13.2.0-lib/lib:/nix/store/nw1bnjadmzk9hnd4nbvxmqlh074vr16j-zlib-1.3.1/lib (LD_LIBRARY_PATH)
787826: trying file=/nix/store/81dsqkc6jvgfw250pwmqh9dfw02dbr9j-mathematica-14.0.0/libexec/Mathematica/SystemFiles/Libraries/Linux-x86-64/Qt/lib/libstdc++.so.6
787826: trying file=/nix/store/1rlvyrvqjq6j5l509k2bfgp6yipa1bdn-dbus-1.14.10-lib/lib/libstdc++.so.6
787826: trying file=/nix/store/p3ffjixpnfgkqh20nsrc13vrj3yfi0nj-gcc-13.2.0-lib/lib/libstdc++.so.6
The last one seems to be correct.
I have no idea why it try to find libstdc++.so
in itself's local position.
BTW strings /nix/store/81dsqkc6jvgfw250pwmqh9dfw02dbr9j-mathematica-14.0.0/libexec/Mathematica/SystemFiles/Libraries/Linux-x86-64/Qt/lib/libQt6Core.so.6 | rg Qt_6
gives:
qt_version_tag@Qt_6.4
qt_version_tag@Qt_6.0
qt_version_tag@Qt_6.2
qt_version_tag@Qt_6.3
Qt_6
Qt_6_PRIVATE_API
qt_version_tag@Qt_6.1
qt_version_tag@@Qt_6.5
Qt_6_PRIVATE_API
Qt_6
Qt_6.0
Qt_6.1
Qt_6.2
Qt_6.3
Qt_6.4
Qt_6.5
Notably, SystemOpen
(internally calls MathLink`CallFrontEnd@FrontEnd`SystemOpen
) also triggers the same issue (emits a bunch of errors like version 'Qt_6.7' not found (required by kde-open)
).
I have no idea why it try to find
libstdc++.so
in itself's local position.
The errors of unfound libstdc++
symbols occur because libstdc++
is currently made available through LD_LIBRARY_PATH
. If the value used in mathematica
is added to it, such errors as CXXABI_1.3.8 not found
will not appear.
BTW
strings /nix/store/81dsqkc6jvgfw250pwmqh9dfw02dbr9j-mathematica-14.0.0/libexec/Mathematica/SystemFiles/Libraries/Linux-x86-64/Qt/lib/libQt6Core.so.6 | rg Qt_6
gives:qt_version_tag@Qt_6.4 qt_version_tag@Qt_6.0 qt_version_tag@Qt_6.2 qt_version_tag@Qt_6.3 Qt_6 Qt_6_PRIVATE_API qt_version_tag@Qt_6.1 qt_version_tag@@Qt_6.5 Qt_6_PRIVATE_API Qt_6 Qt_6.0 Qt_6.1 Qt_6.2 Qt_6.3 Qt_6.4 Qt_6.5
Notably,
SystemOpen
(internally callsMathLink`CallFrontEnd@FrontEnd`SystemOpen
) also triggers the same issue (emits a bunch of errors likeversion 'Qt_6.7' not found (required by kde-open)
).
I cannot reproduce the issue myself: SystemOpen
works as expected by opening a browser tab, although my strings
output is the same as yours. Therefore, I have begun to believe the absence of Qt symbols in the above output may be normal, i.e., it does not lead to the issue you had.
The actual errors were reported by kde-open
but not Mathematica
. Which kde-open
was used? What happens if you run kde-open https://www.google.com
?
The actual errors were reported by kde-open but not Mathematica. Which kde-open was used? What happens if you run kde-open https://www.google.com?
kde-open --version
gives kioclient 6.0.4
and kde-open www.goolge.com
works perfectly.
There is a difference here - I have kde-open
reporting kioclient 5.27.10
here. Is it possible for you to test if the issue persists with this version of kde-open
?
There is a difference here - I have kde-open reporting kioclient 5.27.10 here. Is it possible for you to test if the issue persists with this version of kde-open?
I tried to test this through nix-shell -p libsForQt5.kde-cli-tools
and now kde-open --version
gives me kioclient 5.27.11
(I don't know how to get version 5.27.10
), now (open mathematica
in that shell) SystemOpen
and F1
both work as expected. So it seems that kioclient@6.0.4
is incompatible with the libQt
bundled with mathematica
?
Based on your experiment, the cause of this issue must exist somewhere in the interaction between kde-open
using kioclient 6.0.4
and Mathematica
, though I am unsure whether it is due to incompatibility.
@NixOS/qt-kde Do you have any insights into this behavior?
Ran into this issue today too. I have Mathematica (I guess "Wolfram" now) 14.1.0 installed through Nix on my Arch Linux + KDE Plasma desktop.
Describe the bug
As the title is
Steps To Reproduce
Steps to reproduce the behavior:
F1
on some symbol, or just click the entry in the search result in help center pageExpected behavior
Documentation of such symbol shall be open.
Screenshots
Additional context
Start mathematica from cli, it gives a bunch of errors about
Qt
:Notify maintainers
@herberteuler
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.