Hi all,

I thought I’d try installing J on a new M1-based apple laptop. I tried the 
current 903 beta as I’m interested in the new tacit stuff.

Following the installation via downloading the .zip for macOS and the wiki 
instructions in general works fine. I could fire up my local jconsole to finish 
the installation and then click on the desktop icons for the jconsole or jhs 
and both run successfully.

jqt refuses to launch. I don’t think this is due to the location of the 
installed binaries (as some other users have found) though I did move the 
installation folder to my home directory to rule out permissions issues around 
using the Documents folder. 

If I open up the jqt903 app by right-clicking and navigate to the apprun binary 
hidden within, the error message reported in the terminal reads:

❯ /Users/olivermooney/Desktop/jqt903.app/Contents/MacOS/apprun ; exit;
dyld[45858]: Library not loaded: @rpath/QtGui.framework/Versions/5/QtGui
  Referenced from: /Users/olivermooney/j903/bin/jqt
  Reason: tried: 
'/Users/olivermooney/j903/bin/../Qt/Frameworks/QtGui.framework/Versions/5/QtGui'
 (no such file), 
'/Users/olivermooney/j903/bin/../Frameworks/QtGui.framework/Versions/5/QtGui' 
(no such file), 
'/Users/drinkwater/Qt/5.15.2/clang_64/lib/QtGui.framework/Versions/5/QtGui' (no 
such file), 
'/Users/olivermooney/j903/bin/../Qt/Frameworks/QtGui.framework/Versions/5/QtGui'
 (no such file), 
'/Users/olivermooney/j903/bin/../Frameworks/QtGui.framework/Versions/5/QtGui' 
(no such file), 
'/Users/drinkwater/Qt/5.15.2/clang_64/lib/QtGui.framework/Versions/5/QtGui' (no 
such file), '/Library/Frameworks/QtGui.framework/Versions/5/QtGui' (no such 
file), '/System/Library/Frameworks/QtGui.framework/Versions/5/QtGui' (no such 
file)
/users/olivermooney/j903/bin/jqt.command: line 4: 45858 Abort trap: 6           
bin/jqt

Saving session...completed.


So it looks like J expects Qt5 to be installed. I tried installing Qt6 via 
homebrew (the mac’s commandline package manager) which installed Qt6.2 
successfully (Qt6.2 is the first M1 native release of Qt), but it looks like 
jqt wants version 5. 

So, I tried installing Qt5 via brew which installed successfully. But trying 
jqt still failed with the same error message.

So (just in case) I tried re-installing J, rerunning pacman and the library 
installation etc. But after that jqt still failed with the same error message.

I’m not sure what else I should try at this stage. I’m happy enough to keep 
using the console and jhs interfaces, but some of the nice demos are qt-only, 
and sometimes the J docs seem to assume you’ve access to jqt.

Regardless I’m enjoying learning J - thank you, all involved!

Oliver.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to