[MacPorts] #64170: dbeaver-community @21.3.0_0: invalid code signature in bundled libjli.dylib
MacPorts
noreply at macports.org
Thu Dec 9 19:53:50 UTC 2021
#64170: dbeaver-community @21.3.0_0: invalid code signature in bundled libjli.dylib
---------------------------+-------------------------------
Reporter: shyamalprasad | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Keywords: | Port: dbeaver-community
---------------------------+-------------------------------
After a clean install dbeaver pops up an error window and then fails to
start
{{{
The JVM shared library
"/Applications/MacPorts/DBeaver.app/Contents/Eclipse/jre/Contents/Home/bin/../lib/server/libjvm.dylib"
does not contain the JNI_CreateJavaVM symbol.
}}}
Seems like a bad code signature
{{{
% /Applications/MacPorts/DBeaver.app/Contents/MacOS/dbeaver
2021-12-09 11:47:08.404 dbeaver[4876:8034113] Error loading
/Applications/MacPorts/DBeaver.app/Contents/Eclipse/jre/Contents/MacOS/libjli.dylib:
dlopen(/Applications/MacPorts/DBeaver.app/Contents/Eclipse/jre/Contents/MacOS/libjli.dylib,
265): no suitable image found. Did find:
/Applications/MacPorts/DBeaver.app/Contents/Eclipse/jre/Contents/MacOS/libjli.dylib:
code signature invalid for
'/Applications/MacPorts/DBeaver.app/Contents/Eclipse/jre/Contents/MacOS/libjli.dylib'
}}}
The fix from https://github.com/macports/macports-ports/pull/12605 worked
for me. I just copied over the openjdk11 libjli.dylib file to
/Applications/MacPorts/DBeaver.app/Contents/Eclipse/jre/Contents/MacOS and
it works again.
I cannot tell why the default installation is broken. I have both
openjdk11 and openjdk17 installed (the latter is the default). Is JDK17
the issue?
--
Ticket URL: <https://trac.macports.org/ticket/64170>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list