Author Topic: pacman: error while loading shared libraries  (Read 5459 times)

0 Members and 1 Guest are viewing this topic.

Offline philm

  • Core Team
  • *****
  • Posts: 10671
    • Manjaro Linux
  • Branch: Unstable
  • Desktop: XFCE
  • GPU Card: Geforce GTX 650
  • GPU driver: non-free
  • Kernel: Maintainer - so all ;)
  • Skill: Guru
pacman: error while loading shared libraries
« on: 04. March 2013, 13:15:57 »
You might get this error:
Quote
pacman: error while loading shared libraries: libarchive.so.12: cannot open shared object file: No such file or directory

Fix it like this:

Code: [Select]
[tux@manjaro pacman]$ ls /usr/lib/libarchive.so*
/usr/lib/libarchive.so     /usr/lib/libarchive.so.13.1.2
/usr/lib/libarchive.so.13
[tux@manjaro pacman]$ sudo ln -sfv /usr/lib/libarchive.so.13 /usr/lib/libarchive.so.12
[sudo] password for tux:
‘/usr/lib/libarchive.so.12’ -> ‘/usr/lib/libarchive.so.13’
[tux@manjaro pacman]$ sudo pacman -U *16*x*pkg*xz
loading packages...
resolving dependencies...
looking for inter-conflicts...

Targets (1): pacman-4.0.3-16

Total Installed Size:   3.54 MiB
Net Upgrade Size:       0.00 MiB

Proceed with installation? [Y/n]
(1/1) checking package integrity                   [######################] 100%
(1/1) loading package files                        [######################] 100%
(1/1) checking for file conflicts                  [######################] 100%
(1/1) checking available disk space                [######################] 100%
(1/1) upgrading pacman                             [######################] 100%
[tux@manjaro pacman]$ sudo rm -v /usr/lib/libarchive.so.12
« Last Edit: 04. March 2013, 16:14:16 by philm »

Offline fredbeer

  • Neuling
  • *
  • Posts: 17
Re: pacman: error while loading shared libraries
« Reply #1 on: 05. March 2013, 04:47:42 »
howe do i install it.i get the same message

Offline philm

  • Core Team
  • *****
  • Posts: 10671
    • Manjaro Linux
  • Branch: Unstable
  • Desktop: XFCE
  • GPU Card: Geforce GTX 650
  • GPU driver: non-free
  • Kernel: Maintainer - so all ;)
  • Skill: Guru
Re: pacman: error while loading shared libraries
« Reply #2 on: 05. March 2013, 22:33:20 »
Do the steps I posted starting with [tux@manjaro pacman]$  in a terminal:

Code: [Select]
sudo ln -sfv /usr/lib/libarchive.so.13 /usr/lib/libarchive.so.12
sudo pacman -Syu
sudo rm -v /usr/lib/libarchive.so.12

Offline ksose

  • Neuling
  • *
  • Posts: 33
  • Skill: Novice
Re: pacman: error while loading shared libraries
« Reply #3 on: 09. October 2015, 23:18:12 »
hi, i the same problem with libreoffice

when make a CLI

Code: [Select]
$ libreoffice
/usr/lib/libreoffice/program/soffice.bin: error while loading shared libraries: libGLEW.so.1.13: cannot open shared object file: No such file or directory

but i have a different request to lib
my output is
Code: [Select]
ls /usr/lib/libGLEW.so*
/usr/lib/libGLEW.so@  /usr/lib/libGLEW.so.1.12@  /usr/lib/libGLEW.so.1.12.0


edit --------------------------
Ok i solve, but i think not a perfect solution but it wiork
My system search the libGLEW.so.1.13 library
I try rename the library libGLEW.so.1.12 in 13
and......
works!!!


« Last Edit: 11. October 2015, 11:39:38 by ksose »
Semina Linux tanto Windows si pianta da solo!