Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Updating Problem (DirectFB)
View unanswered posts
View posts from last 24 hours

 
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
Lin-Darian
Tux's lil' helper
Tux's lil' helper


Joined: 24 Mar 2005
Posts: 84

PostPosted: Sun Apr 17, 2005 5:00 am    Post subject: Updating Problem (DirectFB) Reply with quote

I recently updated to DirectFB 22 (libdirectfb-0.9.so.22) from libdirectfb-0.9.so.21

Now several games and applications won't launch because of missing libdirectfb-0.9.so.21
I've tried everything I could think of to solve this problem and even revdep-rebuild REPORTED the broken links but couldn't fixe them. IS the only method for fixing this Downgrading to libdirectfb-0.9.so.21?
Back to top
View user's profile Send private message
sobers_2002
Veteran
Veteran


Joined: 16 Mar 2004
Posts: 1128

PostPosted: Sun Apr 17, 2005 10:24 am    Post subject: Reply with quote

AFAIK, everything that depends on directFB needs to be recompiled/re-installed after upgarding directFB.
so u need to recompile/re-install ur application. This message is there in the ebuild and is shown when u upgrade directFB
_________________
Pdict - dockable dictionary client for linux
FREE97WIN: Use this code on Dreamhost and you get $97 off !!
Back to top
View user's profile Send private message
GungHo
Apprentice
Apprentice


Joined: 27 Aug 2004
Posts: 254

PostPosted: Tue Apr 19, 2005 2:56 pm    Post subject: Reply with quote

Hi,

I have had nearly the same prob (on a standard x86), after a "emerge -u world". I solved it by doing

Code:
# cd /usr/lib

# ln -s libdirectfb-0.9.so.22.0.0 libdirectfb-0.9.so.20

# ll *directfb*so*
lrwxrwxrwx  1 root root     25 Apr 19 13:00 libdirectfb-0.9.so.20 -> libdirectfb-0.9.so.22.0.0*
lrwxrwxrwx  1 root root     25 Apr 19 04:53 libdirectfb-0.9.so.22 -> libdirectfb-0.9.so.22.0.0*
-rwxr-xr-x  1 root root 247248 Apr 19 04:53 libdirectfb-0.9.so.22.0.0*
lrwxrwxrwx  1 root root     25 Apr 19 04:53 libdirectfb.so -> libdirectfb-0.9.so.22.0.0*


A q+d workaround only, but works well so far :wink:
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Tue Apr 19, 2005 3:38 pm    Post subject: Reply with quote

sobers_2002 wrote:
AFAIK, everything that depends on directFB needs to be recompiled/re-installed after upgarding directFB.
so u need to recompile/re-install ur application. This message is there in the ebuild and is shown when u upgrade directFB
Code:
revdep-rebuild
Back to top
View user's profile Send private message
Lin-Darian
Tux's lil' helper
Tux's lil' helper


Joined: 24 Mar 2005
Posts: 84

PostPosted: Wed Apr 20, 2005 8:22 pm    Post subject: Reply with quote

No that did not fix the problem. When trying to recompile with the new DirectFB, it says that it can not FIND DirectFB and aborts compile
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Wed Apr 20, 2005 10:36 pm    Post subject: Reply with quote

Lin-Darian wrote:
No that did not fix the problem. When trying to recompile with the new DirectFB, it says that it can not FIND DirectFB and aborts compile

Please post exact output from emerge.
Back to top
View user's profile Send private message
nadir-san
Apprentice
Apprentice


Joined: 29 May 2004
Posts: 174
Location: Ireland

PostPosted: Sun May 08, 2005 3:27 pm    Post subject: Reply with quote

I was getting loads of errors like this

error while loading shared libraries: libdirectfb-0.9.so.21: cannot open shared object file: No such file or directory

so I just did this

Code:

ln -s /usr/lib/libdirectfb-0.9.so.22 /usr/lib/libdirectfb-0.9.so.21
ln -s /usr/lib/libfusion-0.9.so.22 /usr/lib/libfusion-0.9.so.21
ln -s /usr/lib/libdirect-0.9.so.22 /usr/lib/libdirect-0.9.so.21
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Sun May 08, 2005 7:13 pm    Post subject: Reply with quote

nadir-san wrote:
I was getting loads of errors like this

error while loading shared libraries: libdirectfb-0.9.so.21: cannot open shared object file: No such file or directory

so I just did this

Code:

ln -s /usr/lib/libdirectfb-0.9.so.22 /usr/lib/libdirectfb-0.9.so.21
ln -s /usr/lib/libfusion-0.9.so.22 /usr/lib/libfusion-0.9.so.21
ln -s /usr/lib/libdirect-0.9.so.22 /usr/lib/libdirect-0.9.so.21

Although this may appear to work, it is a bad habit to get into.

Much better to recompile apps which rely on libdirectfb, which is what revdep-rebuild does.
Back to top
View user's profile Send private message
p-static
n00b
n00b


Joined: 10 Oct 2004
Posts: 55

PostPosted: Sun May 08, 2005 9:07 pm    Post subject: Reply with quote

This happens to me as well.

For example, trying to install engage, I get the following:
Code:

edje_cc -v -id gentoo/images -fd gentoo/fonts gentoo.edc gentoo.eet
edje_cc -v -id none/images -fd none/fonts none.edc none.eet
edje_cc: error while loading shared libraries: libdirectfb-0.9.so.21: cannot open shared object file: No such file or directory
make[3]: *** [none.eet] Error 127
make[3]: *** Waiting for unfinished jobs....
edje_cc: error while loading shared libraries: libdirectfb-0.9.so.21: cannot open shared object file: No such file or directory
make[3]: *** [gentoo.eet] Error 127


Re-emerging edje doesn't fix it.
Back to top
View user's profile Send private message
nadir-san
Apprentice
Apprentice


Joined: 29 May 2004
Posts: 174
Location: Ireland

PostPosted: Mon May 09, 2005 11:19 pm    Post subject: Reply with quote

Headrush wrote:

Although this may appear to work, it is a bad habit to get into.

Much better to recompile apps which rely on libdirectfb, which is what revdep-rebuild does.


aye but it will work while I get around to recompiling. :)
Back to top
View user's profile Send private message
latch.r
n00b
n00b


Joined: 04 Apr 2006
Posts: 38
Location: Ulm, Germany

PostPosted: Wed May 31, 2006 12:37 am    Post subject: Reply with quote

nadir-san wrote:
Headrush wrote:

Although this may appear to work, it is a bad habit to get into.

Much better to recompile apps which rely on libdirectfb, which is what revdep-rebuild does.


aye but it will work while I get around to recompiling. :)


I've had similar problems with libdirectfb, libfusion and libdirect. I updated to DirectFB-0.9.24, and this broke some applications. I tried to recompile the broken applications, but had problems. When emerging edje (required for enlightenment DR17) I got the following error:

Code:

edje_cc: error while loading shared libraries: libdirectfb-0.9.so.22: cannot open shared object file: No such file or directory


I've followed the above quick and dirty hack and created links to libdirectfb-0.9.24.0.0, libfusion-0.9.24.0.0 and libdirect-0.9.24.0.0, and now I don't get this error message.

What I would like to know is whether recompiling the apps that were broken will now make them point to the right libraries. If I get them all recompiled, can I remove these symbolic links that I created?
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo on AMD64 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