View previous topic :: View next topic |
Author |
Message |
Lin-Darian Tux's lil' helper


Joined: 24 Mar 2005 Posts: 84
|
Posted: Sun Apr 17, 2005 5:00 am Post subject: Updating Problem (DirectFB) |
|
|
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 |
|
 |
sobers_2002 Veteran


Joined: 16 Mar 2004 Posts: 1128
|
Posted: Sun Apr 17, 2005 10:24 am Post subject: |
|
|
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 |
|
 |
GungHo Apprentice


Joined: 27 Aug 2004 Posts: 254
|
Posted: Tue Apr 19, 2005 2:56 pm Post subject: |
|
|
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  |
|
Back to top |
|
 |
Headrush Watchman


Joined: 06 Nov 2003 Posts: 5597 Location: Bizarro World
|
Posted: Tue Apr 19, 2005 3:38 pm Post subject: |
|
|
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 |
|
|
Back to top |
|
 |
Lin-Darian Tux's lil' helper


Joined: 24 Mar 2005 Posts: 84
|
Posted: Wed Apr 20, 2005 8:22 pm Post subject: |
|
|
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 |
|
 |
Headrush Watchman


Joined: 06 Nov 2003 Posts: 5597 Location: Bizarro World
|
Posted: Wed Apr 20, 2005 10:36 pm Post subject: |
|
|
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 |
|
 |
nadir-san Apprentice


Joined: 29 May 2004 Posts: 174 Location: Ireland
|
Posted: Sun May 08, 2005 3:27 pm Post subject: |
|
|
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 |
|
 |
Headrush Watchman


Joined: 06 Nov 2003 Posts: 5597 Location: Bizarro World
|
Posted: Sun May 08, 2005 7:13 pm Post subject: |
|
|
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 |
|
 |
p-static n00b

Joined: 10 Oct 2004 Posts: 55
|
Posted: Sun May 08, 2005 9:07 pm Post subject: |
|
|
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 |
|
 |
nadir-san Apprentice


Joined: 29 May 2004 Posts: 174 Location: Ireland
|
Posted: Mon May 09, 2005 11:19 pm Post subject: |
|
|
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 |
|
 |
latch.r n00b


Joined: 04 Apr 2006 Posts: 38 Location: Ulm, Germany
|
Posted: Wed May 31, 2006 12:37 am Post subject: |
|
|
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 |
|
 |
|