Darktable: cannot use darktable-cli

darktable-cli is useful to apply darktable crafted styles with the cli

Apparently it is not working in the darktable snap installation:

13:28 $ /snap/darktable/82/usr/bin/darktable-cli --help
/snap/darktable/82/usr/bin/darktable-cli: error while loading shared libraries: libOpenEXR-3_1.so.30: cannot open shared object file: No such file or directory

You cannot access a snap package’s executable files in this manner. They need to be exposed via /snap/bin/* by including a definition when building the snap. This snap does not include such a definition for the darktable-cli executable. It needs adding for people to be able to use it. The repository is at https://github.com/sergiusens/darktable-snap, maintained by @sergiusens.

I might have some time to add this via a PR, so that future revisions of the snap include the access, but can’t guarantee that I will.

Thanks for the hint. I wish I had time to do this myself. There is also a pending issue about this

1 Like

I have exported darktable-cli, from the snap it is currenly available as darktable.cli

I will request an alias to be able to expose it as darktable-cli

1 Like