You are not logged in.

#1 2012-02-07 13:01:45

4on6
Member
Registered: 2011-10-05
Posts: 172

[SOLVED] emacs: error while loading shared libraries: libtiff.so.3

Hello List,
after a complete update with pacman -Syu emacs24 doesn't work anymore:

 
emacs: error while loading shared libraries: libtiff.so.3: 
cannot open shared object file: No such file or directory

pacman -Qs libtiff  gives:

local/libtiff 4.0.0-1
    Library for manipulation of TIFF images

and pacman -Qo `which emacs` gives:

/usr/bin/emacs is in emacs-bzr 106574-1 

How can I make emacs work again?
TIA

Last edited by 4on6 (2012-02-07 15:47:33)

Offline

#2 2012-02-07 13:10:31

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED] emacs: error while loading shared libraries: libtiff.so.3

find out first if is really emacs that needs recompilation.
LD_DEBUG=files emacs  | grep png

if indeed is emacs that is linked, just recompile emacs-bzr


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2012-02-07 13:52:03

4on6
Member
Registered: 2011-10-05
Posts: 172

Re: [SOLVED] emacs: error while loading shared libraries: libtiff.so.3

wonder wrote:

find out first if is really emacs that needs recompilation.
LD_DEBUG=files emacs  | grep png

if indeed is emacs that is linked, just recompile emacs-bzr

Thanks for your answer.
It seems it is emacs that is linked:

file=libtiff.so.3 [0] ; needed by emacs [0]

Please excuse my dumb newbie question - I never did recompiling before: do I just delete the usr/bin/emacs folder and then repeat the installation process for emacs?

I have another related problem - emacs24 (bazaar version) comes from the AUR, and somehow I can't update my AUR git clone.
git pull in the aur directory gives:

fatal: remote error: access denied or repository not exported: /aur.git

Offline

#4 2012-02-07 13:59:02

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED] emacs: error while loading shared libraries: libtiff.so.3

you don't have to delete it. just remove the package if you want to be sure.

that aur.git was renamed to aur-mirror.git

http://pkgbuild.com/git/aur-mirror.git/


Give what you have. To someone, it may be better than you dare to think.

Offline

#5 2012-02-07 15:47:13

4on6
Member
Registered: 2011-10-05
Posts: 172

Re: [SOLVED] emacs: error while loading shared libraries: libtiff.so.3

That worked out fine, now I have an updatetable git-aur repository again, and a freshly compiled bazaar version of emacs24 (after removing the old one) that works just fine.

Thanks for your help.

Offline

Board footer

Powered by FluxBB