I used the python generator to create an install file for libclang which I included in my yaml file.
When my application tries to use ´libclang` though, I get:
“clang.cindex.LibclangError: libclang.so: cannot open shared object file: No such file or directory. To provide a path to libclang use Config.set_library_path() or Config.set_library_file().”
Does anyone know where libclang would be installed to, so that I can use Config.set_library_path() with that path?
And if there is an extension to that as well, how would I add it to my mainfest file? Would I just exchange the “org.kde.Sdk” with “org.kde.Extension.llvm16”?
FAILED: libs/mupdf/build/shared-release/libmupdfcpp.so /run/build/librum/libs/mupdf/build/shared-release/libmupdfcpp.so
cd /run/build/librum/libs/mupdf && ./scripts/mupdfwrap.py -d build/shared-release -b -j 0 m01
(+0.0s): parse.py:14:<module>: Warning, could not import clang: No module named 'clang'
(+0.1s): state.py:18:<module>: Warning: failed to import clang.cindex: e=ModuleNotFoundError("No module named 'clang'")
(+0.1s): state.py:18:<module>: We need Clang Python to build MuPDF python.
(+0.1s): state.py:18:<module>: Install with `pip install libclang` (typically inside a Python venv),
(+0.1s): state.py:18:<module>: or (OpenBSD only) `pkg_add py3-llvm.
My application expects the /resources/fonts folder from my git repo in $HOME/.var/app/com.librumreader.librum/data/Librum-Reader/Librum. How exactly can I reach that folder, I dont just want to mv ... $HOME/.var/app/com.librumreader.librum/data/Librum-Reader/Librum since I suppose that this will create problems on system wide installs?