[go: up one dir, main page]

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

Apple M1 install issue caused by different homebrew path #558

Closed
RonWang opened this issue Mar 22, 2022 · 1 comment
Closed

Apple M1 install issue caused by different homebrew path #558

RonWang opened this issue Mar 22, 2022 · 1 comment

Comments

@RonWang
Copy link
RonWang commented Mar 22, 2022

Hitting into the following issue when using Apple M1. Please check the log below:

> Program [/{proj}/build/database/MariaDB4j/base/bin/mysql_install_db, --auth-root-authentication-method=normal, --datadir=/{proj}/build/database/MariaDB4j/data, --basedir=/{proj}/build/database/MariaDB4j/base, --no-defaults, --force, --skip-name-resolve] (in working directory /{proj}/build/database/MariaDB4j/base) failed, exitValue=1, last 100 lines of console:
  Installing MariaDB/MySQL system tables in '/{proj}/build/database/MariaDB4j/data' ...

  ......

  The latest information about mysql_install_db is available at
  https://mariadb.com/kb/en/installing-system-tables-mysql_install_db
  You can find the latest source at https://downloads.mariadb.org and
  the maria-discuss email list at https://launchpad.net/~maria-discuss
  
  Please check all of the above before submitting a bug report
  at https://mariadb.org/jira
  
  dyld[89308]: Library not loaded: /usr/local/opt/lz4/lib/liblz4.1.dylib
    Referenced from: /{proj}/build/database/MariaDB4j/base/bin/mysqld
    Reason: tried: '/usr/local/opt/lz4/lib/liblz4.1.dylib' (no such file), '/usr/local/lib/liblz4.1.dylib' (no such file), '/usr/lib/liblz4.1.dylib' (no such file)

Homebrew is installed under /opt path in M1 chips, but the current install still looks for the x86_64 file location. Maybe same as https://github.com/vorburger/MariaDB4j/issues/497 but just want confirmation if they are for the same reason.

@vorburger
Copy link
Collaborator

#497 is waiting for anyone interested enough to contribute M1 support.

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

2 participants