I almost sent this to beta@, but it's true under j901 as well,

[j901]$ ./updatejqt.sh
Updating server catalog...
Installing 1 package
Downloading base library...
Installing base library...
Done.
Installing JQt binaries...
Finished install of JQt binaries.
Exit and restart J using jqt.sh
[j901]$ bin/jqt
bin/jqt: symbol lookup error: /home/jfondren/j/j901/bin/libjqt.so: undefined symbol: malloc, version Qt_5

This isn't due to not having libraries: ldd bin/libjqt.so
resolves all of those.  It's some kind of binary
incompatibility within Qt5.

I have

Name        : qt5-qtbase
Version     : 5.14.2
Release     : 5.fc32

And the provided jqt.so appears to have been built with version
5.7

It's possible that actually nothing has changed on the JQt
side, and that a Fedora update broke JQt, as the 5.14 build is
from June.

I have a somewhat fragile workaround for Fedora:

[j901]$ sudo dnf copr enable jfondren/jbeta
[j901]$ sudo dnf install jqt
[j901]$ cp /usr/lib64/libjqt* bin/

where I'm *mostly* using an official jsoftware.com
installation, but have replaced just the jqt libraries with
that COPR build from jsoftware/qtide master. This results in

Engine: j902/j64avx2/linux
Beta-e: commercial/2020-08-14T10:08:52
Library: 9.02.05
Qt IDE: 1.8.7/5.13.2(5.14.2)
Platform: Linux 64
Installer: J902 install
InstallPath: /home/jfondren/j/j902
Contact: www.jsoftware.com

Incidentally on a Pinebook Pro with Manjaro, there's no issue
with the Raspberry PI builds of JQt, and JVERSION has

Qt IDE: 1.8.5/5.3.2

And yet the Pinebook's version of Qt is 5.15.0-1

So maybe the breakage is a new feature of Qt itself, where more
recent versions have stricter binary compatibility requirements
which are enforced by the user -- precisely so that old
applications like this 5.3.2 one will continue to work with new
libraries.

There are a few similar error messages in
https://bugreports.qt.io/browse/QTBUG-61521?jql=text%20~%20%22%5C%22version%20Qt_5%5C%22%22

If it's possible to statically link Qt into JQt, this might
make for more reliable deployments at the cost of wanting a
'slim' version again as Qt is about 284MB with webview support
and less than 120MB without it.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to