From 53724e8a4f90a5b54e0d99edf15c34dd854821c8 Mon Sep 17 00:00:00 2001 From: florian <f.spreckelsen@inidscale.com> Date: Mon, 19 Jul 2021 15:27:28 +0200 Subject: [PATCH] DOC: Add instructions for macOS --- README_SETUP.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README_SETUP.md b/README_SETUP.md index 0a98ce7..c54effe 100644 --- a/README_SETUP.md +++ b/README_SETUP.md @@ -19,6 +19,22 @@ julia> using CaosDB julia> connection = CaosDB.Connection.connect() # Enter host, port, path to SSL certificate, and credentials here ``` +### Troubleshooting + +On MacOS, if you encounter errors like + +``` +could not load library "libccaosdb" +dlopen(libccaosdb.dylib, 1): Library not loaded: libcaosdb.dylib + Referenced from ~/.local/lib/libccaosdb.dylib + Reason: image not found +``` + +(note that the library that couldn't be loaded is `libcaosdb`, i.e., +the wrapped cpp library couldn't be loaded from the c interface) make +sure you have the location of `libcaosdb.dylib` and `libccaosdb.dylib` +in both, your `LD_LIBRARY_PATH` and your `DYLD_LIBRARY_PATH`. + ## Tests After installing, the unit tests can be executed by -- GitLab