jacobobryant / biff

A Clojure web framework for solo developers.
https://biffweb.com
MIT License
866 stars 40 forks source link

Add docs for fixing UnsatisfiedLinkError #161

Closed jacobobryant closed 8 months ago

jacobobryant commented 1 year ago

https://clojurians.slack.com/archives/C013Y4VG20J/p1687707089965459

[main] INFO behrica - starting: com.biffweb$use_config@16d59d5a
[main] INFO behrica - starting: com.biffweb$use_secrets@3fc966c2
[main] INFO behrica - starting: com.biffweb$use_xt@6d0dea6a
Execution error (UnsatisfiedLinkError) at jdk.internal.loader.NativeLibraries/load (NativeLibraries.java:-2).
/tmp/xtdb_rocksdb-6.12.7/librocksdbjni-linux64.so: libstdc++.so.6: cannot open shared object file: No such file or directory

This can be worked around by switching to LMDB, which was previously mentioned in the docs: https://github.com/jacobobryant/biff/blob/83abd7454302a90359c943e395073c17c18e657a/docs/02-reference/14-troubleshooting.md

I removed that section because I didn't think that problem would come up anymore, but alas.