Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Missing libqt5core.so.5
Missing libqt5core.so.5
A little while back, after running an update on testing (that currently says Buster/Sid for version), several packages would no longer run (that ran previously), giving me a "error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory"
I just let it be assuming it was an update that would sort itself out, and I used alternative packages in their place. Today, I needed a specific package and got the same error. I began looking around. locate shows me that libqtcore4 is what exists on the system, and even when I manually download the unstable 5a file and install it, it doesn't show up anywhere and several packages still cannot run. [Edited: I notice I accidentally searched for libqtcore and found 4, while locate libqt5core finds 5a installed but programs still don't run]
Any help would be greatly appreciated.
I just let it be assuming it was an update that would sort itself out, and I used alternative packages in their place. Today, I needed a specific package and got the same error. I began looking around. locate shows me that libqtcore4 is what exists on the system, and even when I manually download the unstable 5a file and install it, it doesn't show up anywhere and several packages still cannot run. [Edited: I notice I accidentally searched for libqtcore and found 4, while locate libqt5core finds 5a installed but programs still don't run]
Any help would be greatly appreciated.
- sunrat
- Administrator
- Posts: 6461
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 116 times
- Been thanked: 472 times
Re: Missing libqt5core.so.5
libqt5core5a is the package that provides that file.
Code: Select all
# apt-file update
# apt-file search libQt5Core.so.5
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Re: Missing libqt5core.so.5
Output:
libqt5core5a: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
libqt5core5a: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10
libqt5core5a: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10.1
libqt5core5a: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.3
libqt5core5a: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.3.2
libqt5core5a: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
libqt5core5a: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10
libqt5core5a: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10.1
libqt5core5a: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.3
libqt5core5a: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.3.2
Re: Missing libqt5core.so.5
Despite it being present on the system, no package that draws on it will run. Any ideas?
Re: Missing libqt5core.so.5
Does anyone have any suggestions on how I can get apps to use this library and get them working again?
Re: Missing libqt5core.so.5
where did all of those others come from? I could not find libQt5Core.so.5.10 in debian pkg search.Bugs318 wrote:Output:
libqt5core5a: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
libqt5core5a: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10
libqt5core5a: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10.1
libqt5core5a: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.3
libqt5core5a: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.3.2
https://packages.debian.org/search?suit ... re.so.5.10
okay, I found it in sid, but it duesnot say amd64, confusing...
maybe something in the env like a QTPATH= or something is set wrong?
resigned by AI ChatGPT
Re: Missing libqt5core.so.5
buster: https://packages.debian.org/buster/amd6 ... a/filelist
sid : https://packages.debian.org/sid/amd64/l ... a/filelist
sid : https://packages.debian.org/sid/amd64/l ... a/filelist
Last edited by L_V on 2018-06-28 16:59, edited 1 time in total.
- sunrat
- Administrator
- Posts: 6461
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 116 times
- Been thanked: 472 times
Re: Missing libqt5core.so.5
OP said it's Testing. On Sid I have:
bw123's suggestion of QTPATH seems like a good place to start, but it's a strange problem I have no idea how to fix or how it would get broken in the first place.
Look for more error messages in logs. Run a program that requires it from a terminal.
I'm guessing it's not KDE as possibly nothing would work if that lib was faulty.
Code: Select all
$ locate libQt5Core.so.5
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10.1
Look for more error messages in logs. Run a program that requires it from a terminal.
I'm guessing it's not KDE as possibly nothing would work if that lib was faulty.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Re: Missing libqt5core.so.5
I am not running KDE, but I do run a few packages that depend on parts of it. Maybe I should install the rest of it just to see, but strange that it worked then broke. Any tips on how to check the path? Thanks!
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 71 times
Re: Missing libqt5core.so.5
You also still have QT 5.3 packages/files from Jessie...that may be at the root of your problem.
MX Linux packager and developer
Re: Missing libqt5core.so.5
several posts have shown you how to find it, and the others. You should consider running stable. Don't mix pkgs from stable or oldstable with testing/sid.Bugs318 wrote: apt-get remove says libQt5Core.so.5.3 not found?
resigned by AI ChatGPT
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 71 times
Re: Missing libqt5core.so.5
A package contains many, many different files. You can search at packages.debian.org to see which Jessie package contained your particular one. I know it's a leftover from Jessie or wheezy-backports because Jessie or wheezy-backports had Qt 5.3. Stretch has 5.7.
https://packages.debian.org/search?sear ... e&arch=any
However...the upgrade to newer versions of that package is supposed to remove the older versions of the libraries, so you shouldn't even have those on your system at all. There seems to be more shenanigans going on with your system than a normal Jessie-Stretch-testing upgrade cycle can account for. Have you or anyone else messed with Qt files or added outside repositories that could have done this?
You can try repairing your particular issue by removing the 5.3 files and reinstalling the libqt5core5a package so the symlinks are set up correctly.
https://packages.debian.org/search?sear ... e&arch=any
However...the upgrade to newer versions of that package is supposed to remove the older versions of the libraries, so you shouldn't even have those on your system at all. There seems to be more shenanigans going on with your system than a normal Jessie-Stretch-testing upgrade cycle can account for. Have you or anyone else messed with Qt files or added outside repositories that could have done this?
You can try repairing your particular issue by removing the 5.3 files and reinstalling the libqt5core5a package so the symlinks are set up correctly.
MX Linux packager and developer
Re: Missing libqt5core.so.5
Okay, 5.3 removed, latest package removed, then reinstalled and still the issue remains.
I don't recall any attempt to alter the system around this. Any other suggestions?
I don't recall any attempt to alter the system around this. Any other suggestions?
Re: Missing libqt5core.so.5
Hmmm. Removing before reinstall forced me to remove packages. On reinstalling one, I see this message:
"ldconfig: /usr/lib/libQt5Core.so.5 is not a symbolic link"
Should it be one? What should it point to if so?
"ldconfig: /usr/lib/libQt5Core.so.5 is not a symbolic link"
Should it be one? What should it point to if so?
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 71 times
Re: Missing libqt5core.so.5
You shouldn't have any Qt files in /usr/lib at all. Since it's multiarch, you should have a symlink in the subfolder for your arch, such as
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
which is a symlink to
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10
which in turn is a symlink to
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10.1
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
which is a symlink to
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10
which in turn is a symlink to
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10.1
MX Linux packager and developer
Re: Missing libqt5core.so.5
Both /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 and /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10 are set as symlinks to /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10.1
Should I change ...5 to point to 5.10?
Should I change ...5 to point to 5.10?
Re: Missing libqt5core.so.5
I backed things up, tried repointing these symlinks and then switched them back as it made no difference. Anybody have any other suggestions?
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 71 times
Re: Missing libqt5core.so.5
If it's a systemic problem, you wouldn't be able to run any Qt 5 apps at all...such as VLC. Is that the case?
MX Linux packager and developer