This is the test/beta version of the archlinux32 forum.

You are not logged in.

#1 2018-03-07 16:35:05

AstroFloyd
Member
Registered: 2018-03-07
Posts: 6

libQt5Core.so.5: No such file or directory after system update

Hi all,

Since a system update I did yesterday (2018-03-06), my wife's laptop can no longer run any KDE/Plasma5 applications.  A typical example is

# konsole
konsole: error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory

ldd shows

# ldd /usr/bin/sddm
        linux-gate.so.1 (0xb77ba000)
        libQt5DBus.so.5 => /usr/lib/libQt5DBus.so.5 (0xb7620000)
        libQt5Qml.so.5 => /usr/lib/libQt5Qml.so.5 (0xb7176000)
        libsystemd.so.0 => /usr/lib/libsystemd.so.0 (0xb70ec000)
        libQt5Network.so.5 => /usr/lib/libQt5Network.so.5 (0xb6f21000)
        libQt5Core.so.5 => not found
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb6da8000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb6d8b000)
        libc.so.6 => /usr/lib/libc.so.6 (0xb6bb6000)
        libQt5Core.so.5 => not found
        libpthread.so.0 => /usr/lib/libpthread.so.0 (0xb6b97000)
        libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0xb6b3b000)
        libQt5Core.so.5 => not found
        libm.so.6 => /usr/lib/libm.so.6 (0xb6a3d000)
        libgcrypt.so.20 => /usr/lib/libgcrypt.so.20 (0xb695d000)
        librt.so.1 => /usr/lib/librt.so.1 (0xb6954000)
        liblzma.so.5 => /usr/lib/liblzma.so.5 (0xb6928000)
        liblz4.so.1 => /usr/lib/liblz4.so.1 (0xb6912000)
        /lib/ld-linux.so.2 => /usr/lib/ld-linux.so.2 (0xb77bb000)
        libQt5Core.so.5 => not found
        libz.so.1 => /usr/lib/libz.so.1 (0xb68f9000)
        libssl.so.1.1 => /usr/lib/libssl.so.1.1 (0xb688c000)
        libcrypto.so.1.1 => /usr/lib/libcrypto.so.1.1 (0xb6631000)
        libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0xb6617000)
        libdl.so.2 => /usr/lib/libdl.so.2 (0xb6612000)

However,

# ls -l /usr/lib/libQt5Core*
-rw-r--r-- 1 root root     914 Feb  3 22:37 /usr/lib/libQt5Core.prl
lrwxrwxrwx 1 root root      20 Feb  3 22:36 /usr/lib/libQt5Core.so -> libQt5Core.so.5.10.0
lrwxrwxrwx 1 root root      20 Feb  3 22:36 /usr/lib/libQt5Core.so.5 -> libQt5Core.so.5.10.0
lrwxrwxrwx 1 root root      20 Feb  3 22:36 /usr/lib/libQt5Core.so.5.10 -> libQt5Core.so.5.10.0
-rwxr-xr-x 1 root root 5258080 Feb  3 22:37 /usr/lib/libQt5Core.so.5.10.0

System:

# uname -a
Linux mac 3.14.52-1-lts #1 SMP Thu Sep 17 20:51:47 CEST 2015 i686 GNU/Linux

# inxi -Cf
CPU:       Dual core Intel T2500 (-MCP-) cache: 2048 KB
           clock speeds: max: 2000 MHz 1: 1000 MHz 2: 1000 MHz
           CPU Flags: acpi aperfmperf apic arch_perfmon bts clflush cmov constant_tsc cx8 de dtherm dts est fpu
           fxsr ht mca mce mmx monitor msr mtrr nx pae pbe pdcm pge pni pse sep ss sse sse2 tm tm2 tsc vme vmx
           xtpr

I would assume that there would be a panic on this forum, but since this isn't the case, I assume this must be a local thing.  Does anyone have any idea how to tackle this?

Offline

#2 2018-03-07 18:59:45

andreas_baumann
Moderator
From: Zurich, Switzerland
Registered: 2017-08-10
Posts: 294
Website

Re: libQt5Core.so.5: No such file or directory after system update

I cannot really reproduce it neither on testing nor on stable.

What are your versions of the packages 'qt5-base' and 'konsole'?

Looks to me like qt5-base is something like 5.10.0-4.0 given size and last modification date:

-rwxr-xr-x 1 root root 5258080 Feb  3 22:37 /usr/lib/libQt5Core.so.5.10.0

What's also weird: why should KDE/Plasma work and KDE applications not, both need Qt?

May I ask: Is it really a migrated Archlinux32 you are using or some other Arch-based distribution?

Offline

#3 2018-03-08 18:03:39

AstroFloyd
Member
Registered: 2018-03-07
Posts: 6

Re: libQt5Core.so.5: No such file or directory after system update

Hi andreas_baumann,

Thank you for looking into this.

I suppose I haven't been fully clear; Plasma doesn't start (even sddm doesn't) and neither do any of the KDE applications.  I suppose anything that needs the Qt libraies is affected.  As a workaround, I have installed LXDE for now.

Versions of the packages I mentioned:
* extra/qt5-base 5.10.0-4.0 (qt qt5) [installed]
* extra/konsole 17.12.1-1.0 (kde-applications kdebase) [installed]
* extra/sddm 0.17.0-5.0 [installed]

From my bash history:
# pacman -Syy archlinux32-keyring-transition
# pacman -Syuu

/etc/pacman.d/mirrorlist:

##
## Arch Linux repository mirrorlist for i686
## Generated on 2017-11-15
##

# Germany
Server = http://archlinux32.vollzornbrot.de/$arch/$repo
Server = https://archlinux32.vollzornbrot.de/$arch/$repo
Server = http://mirror.archlinux32.org/$arch/$repo
Server = https://mirror.archlinux32.org/$arch/$repo

# France
Server = https://archlinux32.mirror.roelf.org/$arch/$repo

# United States
Server = https://32.arlm.tyzoid.com/$arch/$repo

# Canada
Server = http://arch32.mirrors.simplysam.us/$arch/$repo

I just noticed that below the shown content of the mirrorlist, there was an uncommented 64-bit block (back from before the transition to 32-bit).  Could that cause a problem?  I commented them out and ran pacman -Syuu again.  Should I do something else?

One other thing I just tried: I downgraded to qt5-base-5.9.2-1 (the version before the last system update), but that didn't solve the problem.  However, instead, I get:
$ konsole
konsole: error while loading shared libraries: libicui18n.so.59: cannot open shared object file: No such file or directory

Indeed, I then get
# ldd /usr/lib/libQt5Core.so
        ...
        libicui18n.so.59 => not found
        libicuuc.so.59 => not found
        ...

Does that mean the older qt5-base does work, but also requires older dependencies?


PS. If I downgrade icu to 59.1-1 as well, I get
# sddm
sddm: /usr/lib/libQt5Core.so.5: version `Qt_5.10' not found (required by sddm)
...

Last edited by AstroFloyd (2018-03-08 18:31:49)

Offline

#4 2018-03-08 18:43:26

andreas_baumann
Moderator
From: Zurich, Switzerland
Registered: 2017-08-10
Posts: 294
Website

Re: libQt5Core.so.5: No such file or directory after system update

Can you do a 'file /usr/lib/libQt5Core.so.5.10.0' or so. ldd's 'file not found' can mean
you have 64-bit binaries.

file /usr/lib/libQt5Core.so.5.10.0
/usr/lib/libQt5Core.so.5.10.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (GNU/Linux), dynamically linked, interpreter /lib/ld-linux.so.2, BuildID[sha1]=2ebf1a69c8451fffbda0af38fde838f7b2c49d93, for GNU/Linux 3.17.0, stripped

If you see ELF 64-bit there, you have to reinstall all packages, which are 64-bit.

Also check what 'pacman -Qi qt5-core | grep Architecture' is showing you (you should see i686 and not x86_64).

If you have 64-bit binaries, do a grep for all pacman packages with wrong architecture and make sure
to use the right mirrors.

I wonder that this is even possible to install wrong packages for a wrong architecture, pacman should actually check this.

This command might be handy to find wrong packages:

pacman -Q | cut -f 1 -d ' ' | xargs pacman -Qi | egrep '((Name)|(Architecture))'

Offline

#5 2018-03-08 18:44:59

andreas_baumann
Moderator
From: Zurich, Switzerland
Registered: 2017-08-10
Posts: 294
Website

Re: libQt5Core.so.5: No such file or directory after system update

Downgrading Qt doesn't help because it's linked against another libicu, which is linked against... etc. :-)
So, stick to the stable newest packages.

Offline

#6 2018-03-08 20:18:55

AstroFloyd
Member
Registered: 2018-03-07
Posts: 6

Re: libQt5Core.so.5: No such file or directory after system update

Hi Andreas,

# file /usr/lib/libQt5Core.so.5.10.0
/usr/lib/libQt5Core.so.5.10.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (GNU/Linux), dynamically linked, interpreter /lib/ld-linux.so.2, BuildID[sha1]=2ebf1a69c8451fffbda0af38fde838f7b2c49d93, for GNU/Linux 3.17.0, stripped

# pacman -Qi qt5-base | grep Architecture
Architecture    : i686

# pacman -Q | cut -f 1 -d ' ' | xargs pacman -Qi | egrep '((Name)|(Architecture))' |grep -B1 x86_64 | wc -l
0

"Unfortunately" (because that would have offered a solution), I do not seem to have mixed x86_64 and i686 somehow...

I also tried removing the qt5-base package, commenting out the top mirrors in my list thus forcing a download from a different server(?), but that did not change the situation.

Lastly, I allowed Testing and upgraded to testing/qt5-base 5.10.1-2.0  and  testing/konsole 17.12.2-1.0, again with the same results.

Offline

#7 2018-03-08 20:43:30

andreas_baumann
Moderator
From: Zurich, Switzerland
Registered: 2017-08-10
Posts: 294
Website

Re: libQt5Core.so.5: No such file or directory after system update

Sad, would have been a nice explanation. :-)

This was a vanilla Archlinux, 32-bit you migrated to Archlinux32, not some derived Arch-based distribution?

Maybe a mirror is broken?

I have to think..

Offline

#8 2018-03-09 08:21:02

AstroFloyd
Member
Registered: 2018-03-07
Posts: 6

Re: libQt5Core.so.5: No such file or directory after system update

This was a vanilla ArchLinux, I migrated last fall.  No weird flavours.

I suppose I could remove all packages from /var/cache/pacman/pkg and reinstall everything thas is currently installed, though I am a bit worried of what other weird might happen... ;-)

As I mentioned before, I removed the qt5-base package from /var/cache/pacman/pkg, commented out the top mirrors in the list, and reinstalled the package, forcing a fresh download from another mirror - no luck there.

Offline

#9 2018-03-09 08:41:21

andreas_baumann
Moderator
From: Zurich, Switzerland
Registered: 2017-08-10
Posts: 294
Website

Re: libQt5Core.so.5: No such file or directory after system update

Can you copy your pacman.conf here? Maybe there is a strange mixup of the repos?

Offline

#10 2018-03-09 08:53:25

AstroFloyd
Member
Registered: 2018-03-07
Posts: 6

Re: libQt5Core.so.5: No such file or directory after system update

Yes, I pasted it here

Offline

#11 2018-03-09 08:55:03

andreas_baumann
Moderator
From: Zurich, Switzerland
Registered: 2017-08-10
Posts: 294
Website

Re: libQt5Core.so.5: No such file or directory after system update

Looks ok.

Offline

#12 2018-03-09 08:55:55

andreas_baumann
Moderator
From: Zurich, Switzerland
Registered: 2017-08-10
Posts: 294
Website

Re: libQt5Core.so.5: No such file or directory after system update

Mmh. I'm lost.. Just installed a fresh system installed plasma and konsole, no problems on stable or testing..

Offline

#13 2018-03-09 08:56:31

andreas_baumann
Moderator
From: Zurich, Switzerland
Registered: 2017-08-10
Posts: 294
Website

Re: libQt5Core.so.5: No such file or directory after system update

Qt5 needs SSE2, that's the only thing I stumbled over. But a CoreDuo should do fine with SSE2.

Offline

#14 2018-03-09 09:04:01

AstroFloyd
Member
Registered: 2018-03-07
Posts: 6

Re: libQt5Core.so.5: No such file or directory after system update

Yeah, Qt5 worked until 3 days ago, so SSE2 should not pose any problem.  I'm in the process of redownloading and reinstalling all installed packages - let's see what happens.

Thank you very much for going through all this trouble - it is hugely appreciated!

Just out of curiosity - how did you do a fresh install so quickly?  In some virtual box?

Offline

#15 2018-03-09 09:10:45

andreas_baumann
Moderator
From: Zurich, Switzerland
Registered: 2017-08-10
Posts: 294
Website

Re: libQt5Core.so.5: No such file or directory after system update

Yes, and I have a local rsynced mirror. And an autoinstallation script. :-)

https://github.com/andreasbaumann/archauto32.git

or one of the other methods to automatically install an Archlinux.

Offline

#16 2018-03-21 17:03:15

andreas_baumann
Moderator
From: Zurich, Switzerland
Registered: 2017-08-10
Posts: 294
Website

Re: libQt5Core.so.5: No such file or directory after system update

I recently patches librsvg and qt5-declarative. They had SSE2 stuff in them. Now it seems to work.
You can give those two packages from testing a try..

Offline

#20 2019-07-26 07:17:41

versailes
Member
Registered: 2019-05-01
Posts: 0

Re: libQt5Core.so.5: No such file or directory after system update

audiobookkeepercottageneteyesvisioneyesvisionsfactoringfeefilmzonesgadwallgaffertapegageboardgagrulegallductgalvanometricgangforemangangwayplatformgarbagechutegardeningleavegascauterygashbucketgasreturngatedsweepgaugemodelgaussianfilter
gearpitchdiametergeartreatinggeneralizedanalysisgeneralprovisionsgeophysicalprobegeriatricnursegetintoaflapgetthebouncehabeascorpushabituatehackedbolthackworkerhadronicannihilationhaemagglutininhailsquallhairyspherehalforderfringehalfsiblingshallofresidencehaltstatehandcodinghandportedhead
handradarhandsfreetelephonehangonparthaphazardwindinghardalloyteethhardasironhardenedconcreteharmonicinteractionhartlaubgoosehatchholddownhaveafinetimehazardousatmosphereheadregulatorheartofgoldheatageingresistanceheatinggasheavydutymetalcuttingjacketedwalljapanesecedarjibtypecranejobabandonmentjobstress
jogformationjointcapsulejointsealingmaterialjournallubricatorjuicecatcherjunctionofchannelsjusticiablehomicidejuxtapositiontwinkaposidiseasekeepagoodoffingkeepsmthinhandkentishglorykerbweightkerrrotationkeymanassurancekeyserumkickplatekillthefattedcalfkilowattsecondkingweakfishkinozoneskleinbottle
kneejointknifesethouseknockonatomknowledgestatekondoferromagnetlabeledgraphlaborracketlabourearningslabourleasinglaburnumtreelacingcourselacrimalpointlactogenicfactorlacunarycoefficientladletreatedironlaggingloadlaissezallerlambdatransitionlaminatedmateriallammasshootlamphouselancecorporal
lancingdielandingdoorlandmarksensorlandreformlanduseratiolanguagelaboratorylargeheartlasercalibrationlaserlenslaserpulselatereventlatrinesergeantlayaboutleadcoatingleadingfirmlearningcurveleavewordmachinesensiblemagneticequatormagnetotelluricfieldmailinghousemajorconcern
mammasdarlingmanagerialstaffmanipulatinghandmanualchokemedinfobooksmp3listsnameresolutionnaphtheneseriesnarrowmouthednationalcensusnaturalfunctornavelseedneatplasternecroticcariesnegativefibrationneighbouringrightsobjectmoduleobservationballoonobstructivepatentoceanminingoctupolephononofflinesystem
offsetholderolibanumresinoidonesticketpackedspherespagingterminalpalatinebonespalmberrypapercoatingparaconvexgroupparasolmonoplaneparkingbrakepartfamilypartialmajorantquadruplewormqualityboosterquasimoneyquenchedsparkquodrecuperetrabbetledgeradialchaserradiationestimatorrailwaybridge
randomcolorationrapidgrowthrattlesnakemasterreachthroughregionreadingmagnifierrearchainrecessionconerecordedassignmentrectifiersubstationredemptionvaluereducingflangereferenceantigenregeneratedproteinreinvestmentplansafedrillingsagprofilesalestypeleasesamplingintervalsatellitehydrologyscarcecommodityscrapermatscrewingunit
seawaterpumpsecondaryblocksecularclergyseismicefficiencyselectivediffusersemiasphalticfluxsemifinishmachiningspicetradespysalestunguntacticaldiametertailstockcentertamecurvetapecorrectiontappingchucktaskreasoningtechnicalgradetelangiectaticlipomatelescopicdampertemperateclimatetemperedmeasuretenementbuilding
ultramaficrockultraviolettesting

Online

#21 2019-08-02 10:35:38

versailes
Member
Registered: 2019-05-01
Posts: 0

Re: libQt5Core.so.5: No such file or directory after system update

audiobookkeeper.rucottagenet.rueyesvision.rueyesvisions.comfactoringfee.rufilmzones.rugadwall.rugaffertape.rugageboard.rugagrule.rugallduct.rugalvanometric.rugangforeman.rugangwayplatform.rugarbagechute.rugardeningleave.rugascautery.rugashbucket.rugasreturn.rugatedsweep.rugaugemodel.rugaussianfilter.ru
gearpitchdiameter.rugeartreating.rugeneralizedanalysis.rugeneralprovisions.rugeophysicalprobe.rugeriatricnurse.rugetintoaflap.rugetthebounce.ruhabeascorpus.ruhabituate.ruhackedbolt.ruhackworker.ruhadronicannihilation.ruhaemagglutinin.ruhailsquall.ruhairysphere.ruhalforderfringe.ruhalfsiblings.ruhallofresidence.ruhaltstate.ruhandcoding.ruhandportedhead.ru
handradar.ruhandsfreetelephone.ruhangonpart.ruhaphazardwinding.ruhardalloyteeth.ruhardasiron.ruhardenedconcrete.ruharmonicinteraction.ruhartlaubgoose.ruhatchholddown.ruhaveafinetime.ruhazardousatmosphere.ruheadregulator.ruheartofgold.ruheatageingresistance.ruheatinggas.ruheavydutymetalcutting.rujacketedwall.rujapanesecedar.rujibtypecrane.rujobabandonment.rujobstress.ru
jogformation.rujointcapsule.rujointsealingmaterial.rujournallubricator.rujuicecatcher.rujunctionofchannels.rujusticiablehomicide.rujuxtapositiontwin.rukaposidisease.rukeepagoodoffing.rukeepsmthinhand.rukentishglory.rukerbweight.rukerrrotation.rukeymanassurance.rukeyserum.rukickplate.rukillthefattedcalf.rukilowattsecond.rukingweakfish.rukinozones.rukleinbottle.ru
kneejoint.ruknifesethouse.ruknockonatom.ruknowledgestate.rukondoferromagnet.rulabeledgraph.rulaborracket.rulabourearnings.rulabourleasing.rulaburnumtree.rulacingcourse.rulacrimalpoint.rulactogenicfactor.rulacunarycoefficient.ruladletreatediron.rulaggingload.rulaissezaller.rulambdatransition.rulaminatedmaterial.rulammasshoot.rulamphouse.rulancecorporal.ru
lancingdie.rulandingdoor.rulandmarksensor.rulandreform.rulanduseratio.rulanguagelaboratory.rulargeheart.rulasercalibration.rulaserlens.rulaserpulse.rulaterevent.rulatrinesergeant.rulayabout.ruleadcoating.ruleadingfirm.rulearningcurve.ruleaveword.rumachinesensible.rumagneticequator.rumagnetotelluricfield.rumailinghouse.rumajorconcern.ru
mammasdarling.rumanagerialstaff.rumanipulatinghand.rumanualchoke.rumedinfobooks.rump3lists.runameresolution.runaphtheneseries.runarrowmouthed.runationalcensus.runaturalfunctor.runavelseed.runeatplaster.runecroticcaries.runegativefibration.runeighbouringrights.ruobjectmodule.ruobservationballoon.ruobstructivepatent.ruoceanmining.ruoctupolephonon.ruofflinesystem.ru
offsetholder.ruolibanumresinoid.ruonesticket.rupackedspheres.rupagingterminal.rupalatinebones.rupalmberry.rupapercoating.ruparaconvexgroup.ruparasolmonoplane.ruparkingbrake.rupartfamily.rupartialmajorant.ruquadrupleworm.ruqualitybooster.ruquasimoney.ruquenchedspark.ruquodrecuperet.rurabbetledge.ruradialchaser.ruradiationestimator.rurailwaybridge.ru
randomcoloration.rurapidgrowth.rurattlesnakemaster.rureachthroughregion.rureadingmagnifier.rurearchain.rurecessioncone.rurecordedassignment.rurectifiersubstation.ruredemptionvalue.rureducingflange.rureferenceantigen.ruregeneratedprotein.rureinvestmentplan.rusafedrilling.rusagprofile.rusalestypelease.rusamplinginterval.rusatellitehydrology.ruscarcecommodity.ruscrapermat.ruscrewingunit.ru
seawaterpump.rusecondaryblock.rusecularclergy.ruseismicefficiency.ruselectivediffuser.rusemiasphalticflux.rusemifinishmachining.ruspicetrade.ruspysale.rustungun.rutacticaldiameter.rutailstockcenter.rutamecurve.rutapecorrection.rutappingchuck.rutaskreasoning.rutechnicalgrade.rutelangiectaticlipoma.rutelescopicdamper.rutemperateclimate.rutemperedmeasure.rutenementbuilding.ru
ultramaficrock.ruultraviolettesting.ru

Online

#22 2019-08-19 08:28:54

versailes
Member
Registered: 2019-05-01
Posts: 0

Re: libQt5Core.so.5: No such file or directory after system update

Online

#23 2019-08-19 08:30:05

versailes
Member
Registered: 2019-05-01
Posts: 0

Re: libQt5Core.so.5: No such file or directory after system update

Online

#24 2019-08-19 08:31:15

versailes
Member
Registered: 2019-05-01
Posts: 0

Re: libQt5Core.so.5: No such file or directory after system update

Online

#25 2019-08-19 08:32:25

versailes
Member
Registered: 2019-05-01
Posts: 0

Re: libQt5Core.so.5: No such file or directory after system update

Online

Board footer

Powered by FluxBB