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

Reply via email to