Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kde apps v3.5.7 complaining about libexpat.so.0: a solution
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
firepol
n00b
n00b


Joined: 04 Dec 2006
Posts: 15
Location: Switzerland

PostPosted: Wed May 30, 2007 5:17 pm    Post subject: kde apps v3.5.7 complaining about libexpat.so.0: a solution Reply with quote

During the last days I was trying to upgrade kde to version 3.5.7, having the ACCEPT_KEYWORDS="~x86" in my /etc/make.conf file...
That was a big mistake, anyway... my story is simple, I learnt to use "revdep-rebuild", I learnt something about dependencies ... whatever...

revdep-rebuild was complaining that there were several broken dependencies because of libexpat.so.0. So what I did (to begin) was to upgrade kdelibs and kdebase, which took with them expat version 2.0.0. Then I rebuilt all my kde apps (which were built when I had expat version 1.95.8)

But still when I was opening kontact or some other apps they were complaining that the /usr/libexpat.so.0 file was not there. Even after emerging all the system, logging out and rebooting...

Here my ls -la /usr/lib/libexpat.so*:

Quote:

lrwxrwxrwx 1 root root 17 2007-05-28 21:36 /usr/lib/libexpat.so -> libexpat.so.1.5.0
lrwxrwxrwx 1 root root 17 2007-05-28 21:36 /usr/lib/libexpat.so.1 -> libexpat.so.1.5.0
-rwxr-xr-x 1 root root 127460 2007-05-28 21:36 /usr/lib/libexpat.so.1.5.0


So finally I decided to solve the problem manually by creating a symbolic link to libexpat, as follows:

Quote:

cd /usr/lib
ln -s libexpat.so.1.5.0 libexpat.so.0


That did the job and solved my problems. Wish I did this before, instead of loosing my time re-emergin the same packages several times, hoping they could "see" that I updated expat.

Probably some gurus will have etter solutions that this one, but if you don't have time,t ry just the symlink as I did. That should at least leave you use your applications...

Good luck
Back to top
View user's profile Send private message
loki_val
Retired Dev
Retired Dev


Joined: 13 Nov 2006
Posts: 418
Location: Denmark

PostPosted: Wed May 30, 2007 6:04 pm    Post subject: Reply with quote

This is not a good idea. Since ABI breakage occured, this can lead to weird system behaviour.
Back to top
View user's profile Send private message
firepol
n00b
n00b


Joined: 04 Dec 2006
Posts: 15
Location: Switzerland

PostPosted: Thu May 31, 2007 6:39 am    Post subject: Reply with quote

peteralf wrote:
This is not a good idea. Since ABI breakage occured, this can lead to weird system behaviour.


Then what would you suggest me to do, I already rebuilt all my kde packages AFTER having installed expat 2.0.0. What should I do, rebuilld expat 1.95.8, mask 2.0.0, then rebuild all my kde apps?

I can tell you that my system is more weird without the symling (no applicatiom starts correctly, but now yes)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum