我发现/usr/lib/x86_64-linux-gnu/中的libwebkit2gtk-4.1是0.16.3而/usr/local/lib/中的libwebkit2gtk-4.1是0.12.6:
raphy@raohy:~/wxWidgets/build-gtk/samples/webview$ ldd webview | grep -i webkit
libwebkit2gtk-4.1.so.0 => /usr/local/lib/libwebkit2gtk-4.1.so.0 (0x0000756e6bc00000)
raphy@raohy:~$ ls -lah /usr/local/lib | grep -i libwebkit
lrwxrwxrwx 1 root root 22 dic 15 2023 libwebkit2gtk-4.1.so -> libwebkit2gtk-
4.1.so.0
lrwxrwxrwx 1 root root 27 lug 28 17:53 libwebkit2gtk-4.1.so.0 -> libwebkit2gtk-
4.1.so.0.12.6
-rw-r--r-- 1 root root 3,5G dic 26 2023 libwebkit2gtk-4.1.so.0.12.6
但 :
raphy@raohy:~$ cd /usr/local/lib && dpkg -S libwebkit2gtk-4.1.so
libwebkit2gtk-4.1-0:amd64: /usr/lib/x86_64-linux-gnu/libwebkit2gtk-4.1.so.0
libwebkit2gtk-4.1-0:amd64: /usr/lib/x86_64-linux-gnu/libwebkit2gtk-4.1.so.0.16.3
操作系统:Ubuntu 24.04
不应该一样,libwebkit2gtk-4.1 是否已通过 ubuntu 存储库安装?你建议我做什么?