I got this error when I ran stardog-admin server start after the installation through Homebrew in macOS 11.1 (Big Sur), MacBook Pro Early 2015:
Last login: Wed Jan 27 15:27:05 on ttys000
~ % stardog-admin server start
STARDOG_HOME '/var/stardog/' is not writeable by the current user
~ % sudo stardog-admin server start
Password:
Thank you for downloading Stardog.
A valid license was not found in /Users/xxx.
Would you like to download a trial license from Stardog (y/N)? y
Contacting Stardog..............
NOTE: By downloading a Stardog license you agree to be bound by our evaluation agreement.
This agreement can be found at http://info.stardog.com/evaluation-agreement
Do you agree to these terms (y/N)? y
Are you interested in requesting an academic trial license (y/N)? y
Please provide a valid academic email address to start your 365-day trial: xxx@xxxx.edu
Contacting license server.................
We may occasionally contact you with Stardog learning and training resources. Do you wish to receive this content (y/N)? y
Contacting license server....
Email validated. You now have a 365-day Stardog trial license. Starting Stardog...
/usr/local/bin/stardog-admin: line 153: 4358 Killed: 9 "java" -Dstardog.home=/Users/xxx/ -Xmx2g -Xms2g -XX:MaxDirectMemorySize=1500m -Djava.library.path=/usr/local/Cellar/stardog/7.4.5/bin/../lib -XX:SoftRefLRUPolicyMSPerMB=1 -XX:+UseParallelOldGC -XX:+UseCompressedOops -Djavax.xml.datatype.DatatypeFactory=org.apache.xerces.jaxp.datatype.DatatypeFactoryImpl -Dapple.awt.UIElement=true -Dfile.encoding=UTF-8 -Dlog4j.configurationFile=/usr/local/Cellar/stardog/7.4.5/bin/../server/dbms/log4j2.xml -Dstardog.install.location=/usr/local/Cellar/stardog/7.4.5/bin/.. -server -classpath /usr/local/Cellar/stardog/7.4.5/bin/../client/ext/*:/usr/local/Cellar/stardog/7.4.5/bin/../client/api/*:/usr/local/Cellar/stardog/7.4.5/bin/../client/cli/*:/usr/local/Cellar/stardog/7.4.5/bin/../client/http/*:/usr/local/Cellar/stardog/7.4.5/bin/../client/pack/*:/usr/local/Cellar/stardog/7.4.5/bin/../server/ext/*:/usr/local/Cellar/stardog/7.4.5/bin/../server/dbms/*:/* com.complexible.stardog.cli.admin.CLI server start >> /Users/leroy//stardog.log 2>&1
I can confirm the same thing is happening on my laptop running Catalina with the following versions of java: java8, java11, openjdk8 and openjdk11.
As a workaround, I started stardog in a docker container which is easy to install. I will see if I can reproduce on my second laptop also running Catalina later this week.
I put this option last as it a bespoke temporary solution. The first two are fully supported and well documented. But for the curious and at your own risk
I was able to fix my homebrew installation. I found that brew modifies dylib post install when it installs a package. This is somehow corrupting them and causing the library linker process to fail.
I don't fully understand why and still investigating, but I was able to fix my homebrew installation with the following commands