904 works!

I tried installing both 903 and 904 straight from jsoftware and verified
that jqt and the Qt libraries for 903 are only for x86_64 while those for
904 are universal binaries.

Thanks for the help, Bill! Much appreciated.


On Sun, May 22, 2022 at 5:14 PM bill lam <bbill....@gmail.com> wrote:

> Try j904 beta
>
> Or install Intel version of openssl if you want to use j903 with jqt.
>
>
> On Mon, May 23, 2022, 8:08 AM Jinwoo Lee <jinwo...@gmail.com> wrote:
>
> > It seems that in my install, jqt is built only for x86_64 while jconsole
> is
> > for both x86_64 and arm64.
> >
> > $ file jconsole
> > jconsole: Mach-O universal binary with 2 architectures: [x86_64:Mach-O
> > 64-bit executable x86_64Mach-O 64-bit executable x86_64] [arm64:Mach-O
> > 64-bit executable arm64Mach-O 64-bit executable arm64]
> > jconsole (for architecture x86_64): Mach-O 64-bit executable x86_64
> > jconsole (for architecture arm64): Mach-O 64-bit executable arm64
> >
> > $ file jqt
> > jqt: Mach-O 64-bit executable x86_64
> >
> >
> >
> > On Sun, May 22, 2022 at 4:59 PM bill lam <bbill....@gmail.com> wrote:
> >
> > > I rarely use jqt.
> > > The problem may be the jqt icon.
> > > You can try the current j904 beta to confirm everything is ok.
> > >
> > >
> > > On Mon, May 23, 2022, 7:48 AM Jinwoo Lee <jinwo...@gmail.com> wrote:
> > >
> > > > Sorry I didn't include the version info. It's 903 and I installed it
> > via
> > > > homebrew.
> > > >
> > > > Engine: j903/j64/darwin
> > > > Release-b: commercial/2022-01-28T04:07:40
> > > > Library: 9.03.08
> > > > Qt IDE: 1.9.5/5.15.2(5.15.2)
> > > > Platform: Darwin 64
> > > > Installer: J903 install
> > > > InstallPath: /opt/homebrew/caskroom/j/903/j903
> > > >
> > > > Re: how I started J, I ran Jqt by clicking the app icon, then opened
> my
> > > > project and script, and then the "Run All Lines" button.
> > > >
> > > > I usually run J from Emacs or from a terminal, and things work fine
> > from
> > > > there.
> > > >
> > > >
> > > >
> > > > On Sun, May 22, 2022 at 4:29 PM bill lam <bbill....@gmail.com>
> wrote:
> > > >
> > > > > Not sure your version and how you started J.
> > > > >
> > > > > all J related nonavx binaries (console, jqt) are fat binaries.
> > > > >
> > > > > On Mon, 23 May 2022 at 6:52 AM Jinwoo Lee <jinwo...@gmail.com>
> > wrote:
> > > > >
> > > > > > I'm a J noob and am experimenting with interfacing the openssl C
> > > > library
> > > > > > from J now.
> > > > > >
> > > > > > My laptop is an M1 macbook. When I call functions from
> > > libcrypto.dylib
> > > > > in a
> > > > > > terminal, things work perfectly. But when I do the same thing in
> > > Jqt, I
> > > > > get
> > > > > > an error like this.
> > > > > >
> > > > > > dlopen(/opt/homebrew/opt/openssl/lib/libcrypto.dylib, 0x0001):
> > tried:
> > > > > > '/opt/homebrew/opt/openssl/lib/libcrypto.dylib' (mach-o file, but
> > is
> > > an
> > > > > > incompatible architecture (have 'arm64', need 'x86_64')),
> > > > > > '/opt/homebrew/Cellar/openssl@3/3.0.3/lib/libcrypto.3...
> > > > > >
> > > > > > I think this is because J for Mac is built as x86 binaries and on
> > M1
> > > > > > machines, it runs through Rosetta. And this would mean that I
> > > wouldn't
> > > > be
> > > > > > able to build a GUI app using Jqt.
> > > > > >
> > > > > > Any chance you folks are planning to release the M1 version as
> well
> > > as
> > > > > the
> > > > > > x86 version?
> > > > > >
> > > > > > Cheers,
> > > > > > Jinwoo
> > > > > >
> > > ----------------------------------------------------------------------
> > > > > > For information about J forums see
> > > http://www.jsoftware.com/forums.htm
> > > > > >
> > > > >
> > ----------------------------------------------------------------------
> > > > > For information about J forums see
> > http://www.jsoftware.com/forums.htm
> > > > >
> > > >
> ----------------------------------------------------------------------
> > > > For information about J forums see
> http://www.jsoftware.com/forums.htm
> > > >
> > > ----------------------------------------------------------------------
> > > For information about J forums see http://www.jsoftware.com/forums.htm
> > >
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> >
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to