Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run on M1 chips on macOS #41

Closed
introom opened this issue Dec 31, 2021 · 1 comment
Closed

Cannot run on M1 chips on macOS #41

introom opened this issue Dec 31, 2021 · 1 comment

Comments

@introom
Copy link

introom commented Dec 31, 2021

Run ./bin/site-server gives the following error:

Site by JUXT. Copyright (c) 2021, JUXT LTD.
00:00:06.764 [main] INFO juxt.site.alpha.main - Starting system
00:00:06.765 [main] INFO juxt.site.alpha.main - Configuration profile: prod
00:00:06.766 [main] DEBUG juxt.site.alpha.main - Loading configuration from /Users/matthew/Drive/dev/samples/site/dev-local/config.edn
2022-01-01 00:00:08.339:INFO::main: Logging initialized @2575ms to org.eclipse.jetty.util.log.StdErrLog
00:00:11.133 [main] INFO juxt.site.alpha.db - Starting XT node
Execution error (UnsatisfiedLinkError) at jdk.internal.loader.NativeLibraries/load (NativeLibraries.java:-2).
/private/var/folders/2k/05rf5_b108d1xl0mcksf5z980000gn/T/xtdb_rocksdb-6.12.7/librocksdbjni-osx.jnilib: dlopen(/private/var/folders/2k/05rf5_b108d1xl0mcksf5z980000gn/T/xtdb_rocksdb-6.12.7/librocksdbjni-osx.jnilib, 0x0001): tried: '/private/var/folders/2k/05rf5_b108d1xl0mcksf5z980000gn/T/xtdb_rocksdb-6.12.7/librocksdbjni-osx.jnilib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')), '/usr/local/lib/librocksdbjni-osx.jnilib' (no such file), '/usr/lib/librocksdbjni-osx.jnilib' (no such file)

Full report at:
/var/folders/2k/05rf5_b108d1xl0mcksf5z980000gn/T/clojure-14123307117178288585.edn
@introom
Copy link
Author

introom commented Dec 31, 2021

Following the issue: xtdb/xtdb#1518 (comment). solves the problem, though the x86-64 java starts significantly slower than the arm one.

@introom introom closed this as completed Dec 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant