View previous topic :: View next topic |
Author |
Message |
firepol n00b
Joined: 04 Dec 2006 Posts: 15 Location: Switzerland
|
Posted: Wed May 30, 2007 5:17 pm Post subject: kde apps v3.5.7 complaining about libexpat.so.0: a solution |
|
|
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.
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 |
|
|
loki_val Retired Dev
Joined: 13 Nov 2006 Posts: 418 Location: Denmark
|
Posted: Wed May 30, 2007 6:04 pm Post subject: |
|
|
This is not a good idea. Since ABI breakage occured, this can lead to weird system behaviour. |
|
Back to top |
|
|
firepol n00b
Joined: 04 Dec 2006 Posts: 15 Location: Switzerland
|
Posted: Thu May 31, 2007 6:39 am Post subject: |
|
|
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 |
|
|
|
|
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
|
|