You are not logged in.

#1 2010-07-28 15:53:22

keither
Member
Registered: 2009-07-31
Posts: 57

[SOLVED] pacman error while loading shared libraries: liblzma.so.0

I have seen this topic discussed on previous threads (https://bbs.archlinux.org/viewtopic.php?id=77382) but my problem is slightly different.

When I try to install something from pacman or do pacman -Syu, I get the following error:
pacman: error while loading shared libraries: liblzma.so.0: cannot open shared object file: No such file or directory

Like the user from the previous thread, I downloaded xz tools, extracted it, and started the install. Unfoturnately, I also get the following error on ./configure:

configure: error: no acceptable C compiler found in $PATH

I'm not sure how I ended up without xz-tools OR a C compiler (I certainly didn't do pacman -Sd, at least not on purpose, and I can't find anything like that in my command history).

Now, I am not sure how to install gcc without a C compiler! What can be done here?

Last edited by keither (2010-07-28 17:52:05)

Offline

#2 2010-07-28 15:58:31

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: [SOLVED] pacman error while loading shared libraries: liblzma.so.0

You could download the xz package and untar it to root, then reinstall it from the repos.

Offline

#3 2010-07-28 16:03:39

keither
Member
Registered: 2009-07-31
Posts: 57

Re: [SOLVED] pacman error while loading shared libraries: liblzma.so.0

But the problem is that I untar xz-utils and can't compile it because I have no C compiler.

Offline

#4 2010-07-28 16:27:02

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [SOLVED] pacman error while loading shared libraries: liblzma.so.0

Boot off of a live CD, mount the root partition and use pacman's -r flag to install to your real root.

Offline

#5 2010-07-28 16:32:22

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: [SOLVED] pacman error while loading shared libraries: liblzma.so.0

But the problem is that I untar xz-utils and can't compile it because I have no C compiler.

No, I meant the xz package from the repo (got renamed from xz-utils) - you can just untar it to root since it does not use xz compression, and have the working binaries in your system. After that, force reinstall the package with pacman to keep your database sane.

like so:

tar -xvpf xz-4.999.9beta-5-x86_64.pkg.tar.gz  -C / --exclude .PKGINFO --exclude .INSTALL

Last edited by hokasch (2010-07-28 16:37:38)

Offline

#6 2010-07-28 17:50:05

keither
Member
Registered: 2009-07-31
Posts: 57

Re: [SOLVED] pacman error while loading shared libraries: liblzma.so.0

I see what you meant now. That worked. Thank you very much.

hokasch wrote:

But the problem is that I untar xz-utils and can't compile it because I have no C compiler.

No, I meant the xz package from the repo (got renamed from xz-utils) - you can just untar it to root since it does not use xz compression, and have the working binaries in your system. After that, force reinstall the package with pacman to keep your database sane.

like so:

tar -xvpf xz-4.999.9beta-5-x86_64.pkg.tar.gz  -C / --exclude .PKGINFO --exclude .INSTALL

Last edited by keither (2010-07-28 17:51:31)

Offline

#7 2010-10-27 17:17:46

desaparecido
Member
From: Liège, Belgium
Registered: 2010-03-14
Posts: 155

Re: [SOLVED] pacman error while loading shared libraries: liblzma.so.0

hokasch wrote:

But the problem is that I untar xz-utils and can't compile it because I have no C compiler.

No, I meant the xz package from the repo (got renamed from xz-utils) - you can just untar it to root since it does not use xz compression, and have the working binaries in your system. After that, force reinstall the package with pacman to keep your database sane.

like so:

tar -xvpf xz-4.999.9beta-5-x86_64.pkg.tar.gz  -C / --exclude .PKGINFO --exclude .INSTALL

works for me.. thanks.. hummm, with archlinux and [testing] repo we can learn all the time.. it's really funny big_smile even if somes times takes time :s ..


KF5 & Plasma5 (git versions) - Awesome WM
ASUS Sabertooth 990FX - AMD FX8350 - ATI Radeon HD 7970
[testing] repo

Offline

#8 2010-12-15 14:09:25

capoeira
Member
From: Vila Velha - Brasil
Registered: 2010-05-25
Posts: 470

Re: [SOLVED] pacman error while loading shared libraries: liblzma.so.0

I was during an update when batery died. I updated with yaourt, regular update was allready done, than was updating a kernel from AUR. Now after restart I have the same problem AND

hokasch wrote:

You could download the xz package and untar it to root, then reinstall it from the repos.

doesn't solve it :-(



[studio@myhost ~]$ sudo tar -xvpf xz-5.0.0-1-x86_64.pkg.tar.gz  -C / --exclude .PKGINFO --exclude .INSTALL
usr/
usr/include/
usr/bin/
usr/lib/
usr/share/
usr/share/locale/
usr/share/doc/
usr/share/man/
usr/share/licenses/
usr/share/licenses/xz/
usr/share/licenses/xz/COPYING
usr/share/man/man1/
usr/share/man/man1/xzgrep.1.gz
usr/share/man/man1/lzdiff.1.gz
usr/share/man/man1/xzegrep.1.gz
usr/share/man/man1/unlzma.1.gz
usr/share/man/man1/xzdec.1.gz
usr/share/man/man1/lzegrep.1.gz
usr/share/man/man1/lzcat.1.gz
usr/share/man/man1/lzmadec.1.gz
usr/share/man/man1/xzless.1.gz
usr/share/man/man1/lzmainfo.1.gz
usr/share/man/man1/lzmore.1.gz
usr/share/man/man1/lzless.1.gz
usr/share/man/man1/unxz.1.gz
usr/share/man/man1/lzma.1.gz
usr/share/man/man1/lzcmp.1.gz
usr/share/man/man1/lzfgrep.1.gz
usr/share/man/man1/xzcat.1.gz
usr/share/man/man1/xzcmp.1.gz
usr/share/man/man1/lzgrep.1.gz
usr/share/man/man1/xzmore.1.gz
usr/share/man/man1/xz.1.gz
usr/share/man/man1/xzfgrep.1.gz
usr/share/man/man1/xzdiff.1.gz
usr/share/doc/xz/
usr/share/doc/xz/TODO
usr/share/doc/xz/history.txt
usr/share/doc/xz/COPYING
usr/share/doc/xz/lzma-file-format.txt
usr/share/doc/xz/COPYING.GPLv2
usr/share/doc/xz/faq.txt
usr/share/doc/xz/xz-file-format.txt
usr/share/doc/xz/THANKS
usr/share/doc/xz/README
usr/share/doc/xz/AUTHORS
usr/share/doc/xz/NEWS
usr/share/locale/de/
usr/share/locale/it/
usr/share/locale/cs/
usr/share/locale/cs/LC_MESSAGES/
usr/share/locale/cs/LC_MESSAGES/xz.mo
usr/share/locale/it/LC_MESSAGES/
usr/share/locale/it/LC_MESSAGES/xz.mo
usr/share/locale/de/LC_MESSAGES/
usr/share/locale/de/LC_MESSAGES/xz.mo
usr/lib/liblzma.so.5.0.0
usr/lib/liblzma.a
usr/lib/liblzma.so
usr/lib/liblzma.so.5
usr/lib/pkgconfig/
usr/lib/pkgconfig/liblzma.pc
usr/bin/xzdec
usr/bin/xzgrep
usr/bin/lzmainfo
usr/bin/xz
usr/bin/lzdiff
usr/bin/lzma
usr/bin/lzless
usr/bin/lzcmp
usr/bin/xzmore
usr/bin/xzegrep
usr/bin/xzcat
usr/bin/lzfgrep
usr/bin/xzfgrep
usr/bin/lzmadec
usr/bin/lzegrep
usr/bin/unlzma
usr/bin/xzless
usr/bin/unxz
usr/bin/xzcmp
usr/bin/lzmore
usr/bin/lzgrep
usr/bin/xzdiff
usr/bin/lzcat
usr/include/lzma.h
usr/include/lzma/
usr/include/lzma/lzma.h
usr/include/lzma/block.h
usr/include/lzma/vli.h
usr/include/lzma/index_hash.h
usr/include/lzma/index.h
usr/include/lzma/check.h
usr/include/lzma/filter.h
usr/include/lzma/stream_flags.h
usr/include/lzma/delta.h
usr/include/lzma/base.h
usr/include/lzma/bcj.h
usr/include/lzma/version.h
usr/include/lzma/hardware.h
usr/include/lzma/container.h
[studio@myhost ~]$ pacman -S xz
pacman: error while loading shared libraries: liblzma.so.0: cannot open shared object file: No such file or directory

Last edited by capoeira (2010-12-15 14:22:10)

Offline

#9 2010-12-15 14:19:10

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: [SOLVED] pacman error while loading shared libraries: liblzma.so.0

Probably your libarchive is out of date. You can try the same manual untaring with the current package from a mirror, then force an install of xz and libarchive, then run a complete system update (pacman -Syu) - and double-check you are using an updated mirror!
https://www.archlinux.de/?page=MirrorStatus

P.S.: and please use code tags.

Edit:

I was during an update when batery died.

Check your pacman log where it stopped upgrading, eventually you ended up with more incompatible versions than xz/libarchive - in that case, you may have to manually updgrade more of pacman's dependencies.
https://wiki.archlinux.org/index.php/Pa … tall_it.3F

Last edited by hokasch (2010-12-15 14:22:42)

Offline

#10 2010-12-15 14:37:05

capoeira
Member
From: Vila Velha - Brasil
Registered: 2010-05-25
Posts: 470

Re: [SOLVED] pacman error while loading shared libraries: liblzma.so.0

hokasch wrote:

Probably your libarchive is out of date. You can try the same manual untaring with the current package from a mirror, then force an install of xz and libarchive, then run a complete system update (pacman -Syu) - and double-check you are using an updated mirror!
https://www.archlinux.de/?page=MirrorStatus

P.S.: and please use code tags.

Edit:

I was during an update when batery died.

Check your pacman log where it stopped upgrading, eventually you ended up with more incompatible versions than xz/libarchive - in that case, you may have to manually updgrade more of pacman's dependencies.
https://wiki.archlinux.org/index.php/Pa … tall_it.3F

something broke ugly:

[studio@myhost ~]$ sudo tar -xvpf libarchive-2.8.4-2-x86_64.pkg.tar.gz  -C / --exclude .PKGINFO --exclude .INSTALL
usr/
usr/include/
usr/bin/
usr/lib/
usr/share/
usr/share/man/
usr/share/licenses/
usr/share/licenses/libarchive/
usr/share/licenses/libarchive/COPYING
usr/share/man/man5/
usr/share/man/man3/
usr/share/man/man1/
usr/share/man/man1/bsdtar.1.gz
usr/share/man/man1/bsdcpio.1.gz
usr/share/man/man3/archive_entry.3.gz
usr/share/man/man3/archive_read.3.gz
usr/share/man/man3/archive_write.3.gz
usr/share/man/man3/libarchive_internals.3.gz
usr/share/man/man3/archive_read_disk.3.gz
usr/share/man/man3/archive_util.3.gz
usr/share/man/man3/archive_write_disk.3.gz
usr/share/man/man3/libarchive.3.gz
usr/share/man/man5/cpio.5.gz                                                                                     
usr/share/man/man5/tar.5.gz                                                                                      
usr/share/man/man5/mtree.5.gz                                                                                    
usr/share/man/man5/libarchive-formats.5.gz                                                                       
usr/lib/libarchive.so.2                                                                                          
usr/lib/libarchive.la                                                                                            
usr/lib/libarchive.so                                                                                            
usr/lib/pkgconfig/                                                                                               
usr/lib/libarchive.so.2.8.4                                                                                      
usr/lib/libarchive.a                                                                                             
usr/lib/pkgconfig/libarchive.pc                                                                                  
usr/bin/bsdcpio                                                                                                  
usr/bin/bsdtar                                                                                                   
usr/include/archive_entry.h
usr/include/archive.h
[studio@myhost ~]$ yaourt xz libarchive
pacman: error while loading shared libraries: liblzma.so.0: cannot open shared object file: No such file or directory
[studio@myhost ~]$ pacman -S xz
pacman: error while loading shared libraries: liblzma.so.0: cannot open shared object file: No such file or directory
[studio@myhost ~]$ 

perhaps do the same with the pacman package?

Offline

#11 2010-12-15 14:42:43

capoeira
Member
From: Vila Velha - Brasil
Registered: 2010-05-25
Posts: 470

Re: [SOLVED] pacman error while loading shared libraries: liblzma.so.0

hokasch wrote:

I was during an update when batery died.

Check your pacman log where it stopped upgrading, eventually you ended up with more incompatible versions than xz/libarchive - in that case, you may have to manually updgrade more of pacman's dependencies.
https://wiki.archlinux.org/index.php/Pa … tall_it.3F

can't see the problem in pacman.log:

[2010-12-15 11:02] Running '/usr/bin/pacman -Sy'
[2010-12-15 11:02] synchronizing package lists
[2010-12-15 11:03] Running 'pacman -Sy'
[2010-12-15 11:03] synchronizing package lists
[2010-12-15 11:05] Running 'pacman -S -u'
[2010-12-15 11:05] starting full system upgrade
[2010-12-15 11:05] removed pycairo (1.8.10-2)
[2010-12-15 11:05] upgraded bash (4.1.009-1 -> 4.1.009-3)
[2010-12-15 11:05] upgraded run-parts (3.2.3-1 -> 3.4.1-1)
[2010-12-15 11:05] Clearing symlinks in /etc/ssl/certs...done.
[2010-12-15 11:05] Updating certificates in /etc/ssl/certs... 141 added, 0 removed; done.
[2010-12-15 11:05] Running hooks in /etc/ca-certificates/update.d....
[2010-12-15 11:05] updating keystore /etc/ssl/certs/java/cacerts...
[2010-12-15 11:05]   added: /etc/ssl/certs/brasil.gov.br.pem
[2010-12-15 11:05]   added: /etc/ssl/certs/cacert.org.pem
[2010-12-15 11:05]   added: /etc/ssl/certs/ca.pem
[2010-12-15 11:06]   added: /etc/ssl/certs/cert_igca_dsa.pem
[2010-12-15 11:06]   added: /etc/ssl/certs/cert_igca_rsa.pem
[2010-12-15 11:06]   added: /etc/ssl/certs/ABAecom_=sub.__Am._Bankers_Assn.=_Root_CA.pem
[2010-12-15 11:06]   added: /etc/ssl/certs/AOL_Time_Warner_Root_Certification_Authority_1.pem
[2010-12-15 11:06]   added: /etc/ssl/certs/AOL_Time_Warner_Root_Certification_Authority_2.pem
[2010-12-15 11:06]   added: /etc/ssl/certs/AddTrust_External_Root.pem
[2010-12-15 11:06]   added: /etc/ssl/certs/AddTrust_Low-Value_Services_Root.pem
[2010-12-15 11:06]   added: /etc/ssl/certs/AddTrust_Public_Services_Root.pem
[2010-12-15 11:06]   added: /etc/ssl/certs/AddTrust_Qualified_Certificates_Root.pem
[2010-12-15 11:06]   added: /etc/ssl/certs/America_Online_Root_Certification_Authority_1.pem
[2010-12-15 11:06]   added: /etc/ssl/certs/America_Online_Root_Certification_Authority_2.pem
[2010-12-15 11:06]   added: /etc/ssl/certs/Baltimore_CyberTrust_Root.pem
[2010-12-15 11:06]   added: /etc/ssl/certs/COMODO_Certification_Authority.pem
[2010-12-15 11:06]   ignored import, signature not available: /etc/ssl/certs/COMODO_ECC_Certification_Authority.pem
[2010-12-15 11:06] keytool error: java.security.NoSuchAlgorithmException: SHA384withECDSA Signature not available
[2010-12-15 11:06]   added: /etc/ssl/certs/Camerfirma_Chambers_of_Commerce_Root.pem
[2010-12-15 11:06]   added: /etc/ssl/certs/Camerfirma_Global_Chambersign_Root.pem
[2010-12-15 11:06]   added: /etc/ssl/certs/Certplus_Class_2_Primary_CA.pem
[2010-12-15 11:06]   added: /etc/ssl/certs/Certum_Root_CA.pem
[2010-12-15 11:06]   added: /etc/ssl/certs/Comodo_AAA_Services_root.pem
[2010-12-15 11:06]   added: /etc/ssl/certs/Comodo_Secure_Services_root.pem
[2010-12-15 11:06]   added: /etc/ssl/certs/Comodo_Trusted_Services_root.pem
[2010-12-15 11:06]   added: /etc/ssl/certs/DST_ACES_CA_X6.pem
[2010-12-15 11:06]   added: /etc/ssl/certs/DST_Root_CA_X3.pem
[2010-12-15 11:06]   added: /etc/ssl/certs/DigiCert_Assured_ID_Root_CA.pem
[2010-12-15 11:06]   added: /etc/ssl/certs/DigiCert_Global_Root_CA.pem
[2010-12-15 11:06]   added: /etc/ssl/certs/DigiCert_High_Assurance_EV_Root_CA.pem
[2010-12-15 11:06]   added: /etc/ssl/certs/DigiNotar_Root_CA.pem
[2010-12-15 11:06]   added: /etc/ssl/certs/Digital_Signature_Trust_Co._Global_CA_1.pem
[2010-12-15 11:06]   added: /etc/ssl/certs/Digital_Signature_Trust_Co._Global_CA_2.pem
[2010-12-15 11:06]   added: /etc/ssl/certs/Digital_Signature_Trust_Co._Global_CA_3.pem
[2010-12-15 11:06]   added: /etc/ssl/certs/Digital_Signature_Trust_Co._Global_CA_4.pem
[2010-12-15 11:06]   added: /etc/ssl/certs/Entrust.net_Global_Secure_Personal_CA.pem
[2010-12-15 11:06]   added: /etc/ssl/certs/Entrust.net_Global_Secure_Server_CA.pem
[2010-12-15 11:06]   added: /etc/ssl/certs/Entrust.net_Premium_2048_Secure_Server_CA.pem
[2010-12-15 11:06]   added: /etc/ssl/certs/Entrust.net_Secure_Personal_CA.pem
[2010-12-15 11:06]   added: /etc/ssl/certs/Entrust.net_Secure_Server_CA.pem
[2010-12-15 11:06]   added: /etc/ssl/certs/Entrust_Root_Certification_Authority.pem
[2010-12-15 11:06]   added: /etc/ssl/certs/Equifax_Secure_CA.pem
[2010-12-15 11:06]   added: /etc/ssl/certs/Equifax_Secure_Global_eBusiness_CA.pem
[2010-12-15 11:06]   added: /etc/ssl/certs/Equifax_Secure_eBusiness_CA_1.pem
[2010-12-15 11:06]   added: /etc/ssl/certs/Equifax_Secure_eBusiness_CA_2.pem
[2010-12-15 11:06]   added: /etc/ssl/certs/Firmaprofesional_Root_CA.pem
[2010-12-15 11:06]   added: /etc/ssl/certs/GTE_CyberTrust_Global_Root.pem
[2010-12-15 11:06]   added: /etc/ssl/certs/GTE_CyberTrust_Root_CA.pem
[2010-12-15 11:06]   added: /etc/ssl/certs/GeoTrust_Global_CA.pem
[2010-12-15 11:06]   added: /etc/ssl/certs/GeoTrust_Global_CA_2.pem
[2010-12-15 11:06]   added: /etc/ssl/certs/GeoTrust_Primary_Certification_Authority.pem
[2010-12-15 11:06]   added: /etc/ssl/certs/GeoTrust_Universal_CA.pem
[2010-12-15 11:07]   added: /etc/ssl/certs/GeoTrust_Universal_CA_2.pem
[2010-12-15 11:07]   added: /etc/ssl/certs/GlobalSign_Root_CA.pem
[2010-12-15 11:07]   added: /etc/ssl/certs/GlobalSign_Root_CA_-_R2.pem
[2010-12-15 11:07]   added: /etc/ssl/certs/Go_Daddy_Class_2_CA.pem
[2010-12-15 11:07]   added: /etc/ssl/certs/IPS_CLASE1_root.pem
[2010-12-15 11:07]   added: /etc/ssl/certs/IPS_CLASE3_root.pem
[2010-12-15 11:07]   added: /etc/ssl/certs/IPS_CLASEA1_root.pem
[2010-12-15 11:07]   added: /etc/ssl/certs/IPS_CLASEA3_root.pem
[2010-12-15 11:07]   added: /etc/ssl/certs/IPS_Chained_CAs_root.pem
[2010-12-15 11:07]   added: /etc/ssl/certs/IPS_Servidores_root.pem
[2010-12-15 11:07]   added: /etc/ssl/certs/IPS_Timestamping_root.pem
[2010-12-15 11:07]   added: /etc/ssl/certs/NetLock_Business_=Class_B=_Root.pem
[2010-12-15 11:07]   added: /etc/ssl/certs/NetLock_Express_=Class_C=_Root.pem
[2010-12-15 11:07]   added: /etc/ssl/certs/NetLock_Notary_=Class_A=_Root.pem
[2010-12-15 11:07]   added: /etc/ssl/certs/NetLock_Qualified_=Class_QA=_Root.pem
[2010-12-15 11:07]   added: /etc/ssl/certs/Network_Solutions_Certificate_Authority.pem
[2010-12-15 11:07]   added: /etc/ssl/certs/QuoVadis_Root_CA.pem
[2010-12-15 11:07]   added: /etc/ssl/certs/QuoVadis_Root_CA_2.pem
[2010-12-15 11:07]   added: /etc/ssl/certs/QuoVadis_Root_CA_3.pem
[2010-12-15 11:07]   added: /etc/ssl/certs/RSA_Root_Certificate_1.pem
[2010-12-15 11:07]   added: /etc/ssl/certs/RSA_Security_1024_v3.pem
[2010-12-15 11:07]   added: /etc/ssl/certs/RSA_Security_2048_v3.pem
[2010-12-15 11:07]   added: /etc/ssl/certs/SecureTrust_CA.pem
[2010-12-15 11:07]   added: /etc/ssl/certs/Secure_Global_CA.pem
[2010-12-15 11:07]   added: /etc/ssl/certs/Security_Communication_Root_CA.pem
[2010-12-15 11:07]   added: /etc/ssl/certs/Sonera_Class_1_Root_CA.pem
[2010-12-15 11:07]   added: /etc/ssl/certs/Sonera_Class_2_Root_CA.pem
[2010-12-15 11:07]   added: /etc/ssl/certs/Staat_der_Nederlanden_Root_CA.pem
[2010-12-15 11:07]   added: /etc/ssl/certs/Starfield_Class_2_CA.pem
[2010-12-15 11:07]   added: /etc/ssl/certs/StartCom_Certification_Authority.pem
[2010-12-15 11:07]   added: /etc/ssl/certs/StartCom_Ltd..pem
[2010-12-15 11:07]   added: /etc/ssl/certs/SwissSign_Gold_CA_-_G2.pem
[2010-12-15 11:07]   added: /etc/ssl/certs/SwissSign_Platinum_CA_-_G2.pem
[2010-12-15 11:07]   added: /etc/ssl/certs/SwissSign_Silver_CA_-_G2.pem
[2010-12-15 11:07]   added: /etc/ssl/certs/Swisscom_Root_CA_1.pem
[2010-12-15 11:07]   added: /etc/ssl/certs/TC_TrustCenter__Germany__Class_2_CA.pem
[2010-12-15 11:07]   added: /etc/ssl/certs/TC_TrustCenter__Germany__Class_3_CA.pem
[2010-12-15 11:07]   added: /etc/ssl/certs/TDC_Internet_Root_CA.pem
[2010-12-15 11:07]   added: /etc/ssl/certs/TDC_OCES_Root_CA.pem
[2010-12-15 11:07]   added: /etc/ssl/certs/TURKTRUST_Certificate_Services_Provider_Root_1.pem
[2010-12-15 11:07]   added: /etc/ssl/certs/TURKTRUST_Certificate_Services_Provider_Root_2.pem
[2010-12-15 11:07]   added: /etc/ssl/certs/Taiwan_GRCA.pem
[2010-12-15 11:07]   added: /etc/ssl/certs/Thawte_Personal_Basic_CA.pem
[2010-12-15 11:07]   added: /etc/ssl/certs/Thawte_Personal_Freemail_CA.pem
[2010-12-15 11:07]   added: /etc/ssl/certs/Thawte_Personal_Premium_CA.pem
[2010-12-15 11:07]   added: /etc/ssl/certs/Thawte_Premium_Server_CA.pem
[2010-12-15 11:07]   added: /etc/ssl/certs/Thawte_Server_CA.pem
[2010-12-15 11:07]   added: /etc/ssl/certs/Thawte_Time_Stamping_CA.pem
[2010-12-15 11:07]   added: /etc/ssl/certs/UTN-USER_First-Network_Applications.pem
[2010-12-15 11:07]   added: /etc/ssl/certs/UTN_DATACorp_SGC_Root_CA.pem
[2010-12-15 11:07]   added: /etc/ssl/certs/UTN_USERFirst_Email_Root_CA.pem
[2010-12-15 11:07]   added: /etc/ssl/certs/UTN_USERFirst_Hardware_Root_CA.pem
[2010-12-15 11:08]   added: /etc/ssl/certs/ValiCert_Class_1_VA.pem
[2010-12-15 11:08]   added: /etc/ssl/certs/ValiCert_Class_2_VA.pem
[2010-12-15 11:08]   added: /etc/ssl/certs/VeriSign_Class_3_Public_Primary_Certification_Authority_-_G5.pem
[2010-12-15 11:08]   added: /etc/ssl/certs/Verisign_Class_1_Public_Primary_Certification_Authority.pem
[2010-12-15 11:08]   added: /etc/ssl/certs/Verisign_Class_1_Public_Primary_Certification_Authority_-_G2.pem
[2010-12-15 11:08]   added: /etc/ssl/certs/Verisign_Class_1_Public_Primary_Certification_Authority_-_G3.pem
[2010-12-15 11:08]   added: /etc/ssl/certs/Verisign_Class_2_Public_Primary_Certification_Authority.pem
[2010-12-15 11:08]   added: /etc/ssl/certs/Verisign_Class_2_Public_Primary_Certification_Authority_-_G2.pem
[2010-12-15 11:08]   added: /etc/ssl/certs/Verisign_Class_2_Public_Primary_Certification_Authority_-_G3.pem
[2010-12-15 11:08]   added: /etc/ssl/certs/Verisign_Class_3_Public_Primary_Certification_Authority.pem
[2010-12-15 11:08]   added: /etc/ssl/certs/Verisign_Class_3_Public_Primary_Certification_Authority_-_G2.pem
[2010-12-15 11:08]   added: /etc/ssl/certs/Verisign_Class_3_Public_Primary_Certification_Authority_-_G3.pem
[2010-12-15 11:08]   added: /etc/ssl/certs/Verisign_Class_4_Public_Primary_Certification_Authority_-_G2.pem
[2010-12-15 11:08]   added: /etc/ssl/certs/Verisign_Class_4_Public_Primary_Certification_Authority_-_G3.pem
[2010-12-15 11:08]   added: /etc/ssl/certs/Verisign_RSA_Secure_Server_CA.pem
[2010-12-15 11:08]   added: /etc/ssl/certs/Verisign_Time_Stamping_Authority_CA.pem
[2010-12-15 11:08]   added: /etc/ssl/certs/Visa_International_Global_Root_2.pem
[2010-12-15 11:08]   added: /etc/ssl/certs/Visa_eCommerce_Root.pem
[2010-12-15 11:08]   added: /etc/ssl/certs/WellsSecure_Public_Root_Certificate_Authority.pem
[2010-12-15 11:08]   added: /etc/ssl/certs/Wells_Fargo_Root_CA.pem
[2010-12-15 11:08]   added: /etc/ssl/certs/XRamp_Global_CA_Root.pem
[2010-12-15 11:08]   added: /etc/ssl/certs/beTRUSTed_Root_CA-Baltimore_Implementation.pem
[2010-12-15 11:08]   added: /etc/ssl/certs/beTRUSTed_Root_CA.pem
[2010-12-15 11:08]   added: /etc/ssl/certs/beTRUSTed_Root_CA_-_Entrust_Implementation.pem
[2010-12-15 11:08]   added: /etc/ssl/certs/beTRUSTed_Root_CA_-_RSA_Implementation.pem
[2010-12-15 11:08]   added: /etc/ssl/certs/thawte_Primary_Root_CA.pem
[2010-12-15 11:08]   added: /etc/ssl/certs/signet_ca1_pem.pem
[2010-12-15 11:08]   added: /etc/ssl/certs/signet_ca2_pem.pem
[2010-12-15 11:08]   added: /etc/ssl/certs/signet_ca3_pem.pem
[2010-12-15 11:08]   added: /etc/ssl/certs/signet_ocspklasa2_pem.pem
[2010-12-15 11:08]   added: /etc/ssl/certs/signet_ocspklasa3_pem.pem
[2010-12-15 11:08]   added: /etc/ssl/certs/signet_pca2_pem.pem
[2010-12-15 11:08]   added: /etc/ssl/certs/signet_pca3_pem.pem
[2010-12-15 11:08]   added: /etc/ssl/certs/signet_rootca_pem.pem
[2010-12-15 11:08]   added: /etc/ssl/certs/signet_tsa1_pem.pem
[2010-12-15 11:08]   added: /etc/ssl/certs/spi-ca-2003.pem
[2010-12-15 11:08]   added: /etc/ssl/certs/spi-cacert-2008.pem
[2010-12-15 11:08]   added: /etc/ssl/certs/deutsche-telekom-root-ca-2.pem
[2010-12-15 11:08] done.
[2010-12-15 11:08] done.
[2010-12-15 11:08] upgraded ca-certificates (20090814-3 -> 20090814+nmu2-1)
[2010-12-15 11:08] upgraded ca-certificates-java (20090629-2 -> 20100412-1)
[2010-12-15 11:08] upgraded chromium (8.0.552.215-1 -> 8.0.552.224-1)
[2010-12-15 11:08] warning: /etc/hosts installed as /etc/hosts.pacnew
[2010-12-15 11:08] warning: /etc/gshadow installed as /etc/gshadow.pacnew
[2010-12-15 11:08] upgraded filesystem (2010.10-1 -> 2010.12-1)
[2010-12-15 11:08] installed python2-cairo (1.8.10-1)

Offline

#12 2010-12-15 15:02:40

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: [SOLVED] pacman error while loading shared libraries: liblzma.so.0

perhaps do the same with the pacman package?

Yep. Although from the pacman log, I don't really understand how you ended up with this problem.

Offline

#13 2010-12-15 17:17:04

capoeira
Member
From: Vila Velha - Brasil
Registered: 2010-05-25
Posts: 470

Re: [SOLVED] pacman error while loading shared libraries: liblzma.so.0

hokasch wrote:

perhaps do the same with the pacman package?

Yep. Although from the pacman log, I don't really understand how you ended up with this problem.

did that and also with
openssl, libarchive, libfetch, bash, and pacman-mirrorlist

didn't help

well, I have to make a fresh instal on friday anyways since I move to another PC, until than I can live without updates
thank you for triyng to help

Offline

#14 2010-12-15 21:52:22

capoeira
Member
From: Vila Velha - Brasil
Registered: 2010-05-25
Posts: 470

Re: [SOLVED] pacman error while loading shared libraries: liblzma.so.0

only solution was

sudo ln -s /usr/lib/liblzma.so /usr/lib/liblzma.so.0

Offline

#15 2010-12-17 02:14:25

capoeira
Member
From: Vila Velha - Brasil
Registered: 2010-05-25
Posts: 470

Re: [SOLVED] pacman error while loading shared libraries: liblzma.so.0

well, thinking again...i might use this instalation again in a few months.

how can i solve this?

[studio@myhost ~]$ pacman -v
Root      : /
Conf File : /usr/local/etc/pacman.conf
DB Path   : /usr/local/var/lib/pacman/
Cache Dirs: /usr/local/var/cache/pacman/pkg/  
Lock File : /usr/local/var/lib/pacman/db.lck
Log File  : /usr/local/var/log/pacman.log
Targets   : Nenhum

Offline

#16 2010-12-17 22:27:19

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: [SOLVED] pacman error while loading shared libraries: liblzma.so.0

err, why is your pacman.conf in /usr/local? you untarred above packages to root, so these files will be in their standard paths (see package contents)

Do you have a pacman binary outside /usr/bin? What does "pacman -V" show?

Offline

#17 2010-12-17 23:06:40

capoeira
Member
From: Vila Velha - Brasil
Registered: 2010-05-25
Posts: 470

Re: [SOLVED] pacman error while loading shared libraries: liblzma.so.0

hokasch wrote:

err, why is your pacman.conf in /usr/local? you untarred above packages to root, so these files will be in their standard paths (see package contents)

Do you have a pacman binary outside /usr/bin? What does "pacman -V" show?

thats what pacman -v shows allready

i untared package to root with the comand above.
i tried even pacman-static to slve this
reinstal pacman doesnt solve

i now edited the pacman.conf in that local path to use the other paths

Offline

#18 2010-12-17 23:12:06

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: [SOLVED] pacman error while loading shared libraries: liblzma.so.0

try with a -V (capitals) for the version

Offline

#19 2010-12-17 23:41:10

capoeira
Member
From: Vila Velha - Brasil
Registered: 2010-05-25
Posts: 470

Re: [SOLVED] pacman error while loading shared libraries: liblzma.so.0

deleted

Last edited by capoeira (2010-12-17 23:44:44)

Offline

#20 2012-03-09 20:08:31

harlock59
Member
Registered: 2012-03-09
Posts: 4

Re: [SOLVED] pacman error while loading shared libraries: liblzma.so.0

unxz: error while loading shared libraries: liblzma.so.5: cannot open shared object file: No such file or directory

hi evryone !

i have a fresh install of ubunty jaunty (9.04) and i don't have native support for xz archives.

i've tried to compile xz-utils because i can't get xz-utils from aptitude or apt-get.

after compiling xz, when i run the command-line unxz myarchive.tar.xz, i get the first above error message.

can anyone help me with it ?

Offline

#21 2012-03-09 20:09:24

harlock59
Member
Registered: 2012-03-09
Posts: 4

Re: [SOLVED] pacman error while loading shared libraries: liblzma.so.0

i want to compile vlc from sources because i can't obtain the totem plugins...
i am really stuck with that install !

Offline

#22 2012-03-09 20:47:08

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,177

Re: [SOLVED] pacman error while loading shared libraries: liblzma.so.0

Moderator:
@Harlock59:  Welcome to the Arch Linux forums.  These forums are for Arch Linux technical issues.  Before posting again, please familiarize yourself with our rules.  In particular:
https://wiki.archlinux.org/index.php/Fo … ow_to_Post
https://wiki.archlinux.org/index.php/Fo … te#Bumping
https://wiki.archlinux.org/index.php/Fo … _Hijacking

Closing this thread


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Online

Board footer

Powered by FluxBB