nixpkgs/pkgs/tools/security/qdigidoc
Klemens Nanni 8daa103d1f qdigidoc: Explain why LD_LIBRARY_PATH is required
Contrary to libdigidocpp's libdigidocpp, qdigidoc uses Qt to load
modules and thus causes different search behaviour in dlopen(3).

This approach is not required on every platform;  on OpenBSD[0]
qdigidoc4(1) finds "opensc-pkcs11.so" due to /usr/local/lib/pkcs11/
in the main program's DT_RUNPATH.

0: https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/libexec/ld.so/library_subr.c?annotate=1.51
   (line 297)
2022-06-10 05:28:09 +02:00
..
default.nix qdigidoc: Explain why LD_LIBRARY_PATH is required 2022-06-10 05:28:09 +02:00