Closed sdlane-lbl closed 2 years ago
Ping @gdams for any insight.
Does it fail only with temurin
? What about the openjdk
or openjdk@11
formulae? Or the temurin11
cask?
If I had to guess, it may be from running x86_64 apache-directory-studio
in combination with arm64 temurin
.
Since there isn't an Apple Silicon build of apache-directory-studio
yet, you may want to try installing an x86_64 Java to see if it helps.
There is also an upstream issue: https://issues.apache.org/jira/browse/DIRSTUDIO-1293
Thanks for that suggestion. Is there one available from homebrew? I've looked (a little...) and haven't found anything obviously specifically x86_64, so if there's something I'm missing, please let me know.
Otherwise, I'll just install it from the openjdk folks.
Steve Lane
On Wed, Jul 20, 2022 at 9:05 PM Michael Cho @.***> wrote:
If I had to guess, it may be from running x86_64 apache-directory-studio in combination with arm64 temurin.
Since there isn't an Apple Silicon build of apache-directory-studio yet, you may want to try installing an x86_64 Java to see if it helps.
There is also an upstream issue: https://issues.apache.org/jira/browse/DIRSTUDIO-1293
— Reply to this email directly, view it on GitHub https://github.com/Homebrew/homebrew-cask/issues/127475#issuecomment-1191013505, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANUC4U5W4XPBSLLIT7U3KHTVVDD6XANCNFSM53CZQGBQ . You are receiving this because you authored the thread.Message ID: @.***>
Homebrew tries to only provide native binaries whenever possible. There are some ways of using Rosetta to install x86_64 binaries.
One common approach is to have a dedicate Rosetta Homebrew installation. This would use the traditional /usr/local
while native installation would use /opt/homebrew
.
For at least temporary usage/testing, you might be able to install using Rosetta in same Homebrew instance (via arch -x86_64 brew install ...
), but this may break on next brew upgrade
. Not too sure since I haven't used this approach.
Ok, I'll look into that.
Steve Lane
On Thu, Jul 21, 2022 at 2:56 PM Michael Cho @.***> wrote:
Homebrew tries to only provide native binaries whenever possible.
One common approach is to have a dedicate Rosetta Homebrew installation.
For at least temporary usage/testing, you might be able to install using Rosetta in same Homebrew instance (via arch -x86_64 brew install ...), but this may break on next brew upgrade. Not too sure since I haven't used this approach.
— Reply to this email directly, view it on GitHub https://github.com/Homebrew/homebrew-cask/issues/127475#issuecomment-1191974663, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANUC4U36LZWXPSLAQTSBK7LVVHBSFANCNFSM53CZQGBQ . You are receiving this because you authored the thread.Message ID: @.***>
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Verification
--force
.brew update-reset && brew update
and retried my command.brew doctor
, fixed as many issues as possible and retried my command.Description of issue
The
apache-directory-studio
caveats state:I have followed these instructions, installing
apache-directory-studio
version2.0.0.v20210717-M17
andtemurin
version18.0.1,10
, and configuringApacheDirectoryStudio.ini
, but trying to startApache Directory Studio
results in the following error:The JVM shared library "/Library/Java/JavaVirtualMachines/temurin-18.jdk/Contents/Home/bin/../lib/server/libjvm.dylib" does not contain the JNI_CreateJavaVM symbol.
Based on the error output (below), it looks like it might be an M1 architecture issue.
Any help with this issue, whether something else I can / should do differently, or a fix to the
jvm
, will be much appreciated.Command that failed
Attempting to run the GUI macOS application "Apache Directory Studio"
Output of command with
--verbose --debug
Output of
brew doctor --verbose
Output of
brew tap