Skip to content

Commit

Permalink
debian/triggers: add (to run ldconfig) (#664)
Browse files Browse the repository at this point in the history
After installing the deb package, st-util fails to start:

> $ st-util
> st-util: error while loading shared libraries: libstlink-shared.so.1:
> cannot open shared object file: No such file or directory

The reason is, no one ran `ldconfig` upon installing the library.

The solution, as per latest Debian recommendations [1], is to add an
ldconfig trigger in debian/triggers, which is what this commit does.

[1] https://www.debian.org/doc/debian-policy/#ldconfig

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
  • Loading branch information
kolyshkin authored and xor-gate committed Feb 6, 2018
1 parent 1969148 commit fbd55d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions debian/triggers
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
activate-noawait ldconfig

0 comments on commit fbd55d9

Please sign in to comment.