Thanks to visit codestin.com
Credit goes to github.com

Skip to content

/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.15' not found (required by /usr/bin/ksnip) #712

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

Closed
raphaelh opened this issue Sep 16, 2021 · 5 comments
Labels

Comments

@raphaelh
Copy link
Contributor

Describe the bug
ksnip does not launch since 1.9.1. Version 1.9.0 works perfectly.

To Reproduce
In a terminal:

$ ksnip 
ksnip: /lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.15' not found (required by ksnip)

Desktop (please complete the following information):

  • OS: Ubuntu 20.04
  • ksnip version : 1.9.1
  • How did you install ksnip : ksnip-1.9.1-continuous.deb from github

Additional context

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.3 LTS"
$ ldd /usr/bin/ksnip | grep libQt5Core.so.5
/usr/bin/ksnip: /lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.15' not found (required by /usr/bin/ksnip)
	libQt5Core.so.5 => /lib/x86_64-linux-gnu/libQt5Core.so.5 (0x00007f11e9004000)
$ ls -al /lib/x86_64-linux-gnu/libQt5Core.so.5
lrwxrwxrwx 1 root root 20 avril  9  2020 /lib/x86_64-linux-gnu/libQt5Core.so.5 -> libQt5Core.so.5.12.8
$ ls -al /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
lrwxrwxrwx 1 root root 20 avril  9  2020 /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 -> libQt5Core.so.5.12.8

It is found in this package : https://packages.ubuntu.com/focal/libqt5core5a

Workaround

Install 5.15 using this ppa : https://launchpad.net/~beineri/+archive/ubuntu/opt-qt-5.15.0-focal

sudo add-apt-repository ppa:beineri/opt-qt-5.15.0-focal
sudo apt-get update
sudo apt install qt515base

I then launched with:
LD_LIBRARY_PATH=/opt/qt515/lib/ ksnip

but the icons don't show:
image

@raphaelh raphaelh added the bug label Sep 16, 2021
@DamirPorobic
Copy link
Member

DamirPorobic commented Sep 16, 2021

@hosiet did you get this error? This could be from a newer Qt version being used on the CI. But actually we can run on 5.9.4 =<
Can we influence on what we depend without changing the CI? We do have the option to use an older runner version https://github.com/actions/virtual-environments#available-environments

@DamirPorobic
Copy link
Member

Or it's not related to the runner but to the Qt version that we have installed. We install 15.2 everywhere.

@DamirPorobic
Copy link
Member

@raphaelh can you give it another try? I have changed now the Qt version used to build the deb and rpm package to 5.12.7.

@raphaelh
Copy link
Contributor Author

I've tested this continuous build, and it works perfectly!

image

Thanks for the quick fix 👍

@DamirPorobic
Copy link
Member

Glad to hear that it's working again. Thanks for testing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants