Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

debian/triggers: add (to run ldconfig) #664

Merged
merged 1 commit into from
Feb 6, 2018

Conversation

kolyshkin
Copy link
Contributor

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

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>
@xor-gate
Copy link
Member

xor-gate commented Feb 6, 2018

Thanks, LGTM !

@xor-gate xor-gate merged commit fbd55d9 into stlink-org:master Feb 6, 2018
@Nightwalker-87 Nightwalker-87 added this to the v1.5.0 milestone Feb 23, 2020
@stlink-org stlink-org locked as resolved and limited conversation to collaborators Apr 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants