mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-05-03 13:07:58 +02:00
doc/user: make "verifying install" command portable
According to the linker man page libraries are searched in the following paths: LD_LIBRARY_PATH environment variable Paths in the cache file /etc/ld.so.cache /lib, /usr/lib, /lib64 and /usr/lib64 As we are not using LD_LIBRARY_PATH, we can rely on ldconfig as a fairly portable solution because it "creates the necessary links and cache to the most recent shared libraries found in the directories specified on the command line, in the file /etc/ld.so.conf, and in the trusted directories (/lib and /usr/lib)". Tested on fedora 34, manjaro 2021.07, kubuntu 21.04 Signed-off-by: Andrea Ippolito <andrea.ippo@gmail.com>
This commit is contained in:
parent
2cf38f45a5
commit
967b9d3e45
1 changed files with 4 additions and 6 deletions
|
|
@ -110,12 +110,10 @@ the library path and that all symlinks point to the new library.
|
|||
|
||||
::
|
||||
|
||||
$> ls -l /usr/lib64/libinput.*
|
||||
-rwxr-xr-x 1 root root 946 Apr 28 2015 /usr/lib64/libinput.la
|
||||
lrwxrwxrwx 1 root root 19 Feb 1 15:12 /usr/lib64/libinput.so -> libinput.so.10.13.0
|
||||
lrwxrwxrwx 1 root root 19 Feb 1 15:12 /usr/lib64/libinput.so.10 -> libinput.so.10.13.0
|
||||
-rwxr-xr-x 1 root root 204992 Feb 1 15:12 /usr/lib64/libinput.so.10.13.0
|
||||
|
||||
$> ldconfig -p | grep libinput | awk '{print $NF}' | xargs ls -l
|
||||
lrwxrwxrwx 1 root root 14 lug 22 13:06 /usr/lib/x86_64-linux-gnu/libinput.so -> libinput.so.10
|
||||
lrwxrwxrwx 1 root root 19 lug 22 13:06 /usr/lib/x86_64-linux-gnu/libinput.so.10 -> libinput.so.10.13.0
|
||||
-rwxr-xr-x 1 root root 1064144 lug 22 13:06 /usr/lib/x86_64-linux-gnu/libinput.so.10.13.0
|
||||
|
||||
.. _reverting_install:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue