Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 94691

Summary: Update to DirectFB-0.9.22 breaks unreal-tournament-goty (possibly others)
Product: Gentoo Linux Reporter: Mark Richardson <bugs>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED INVALID    
Severity: blocker    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mark Richardson 2005-05-31 18:19:12 UTC
Hi,

dev-libs/DirectFB got updated on my system today, this breaks ut-bin from the
unreal-tournamen-goty ebuild:

The ut-bin binary is linked (amongst others) to:
libdirect-0.9.so.21
libdirectfb-0.9.so.21
libfusion-0.9.so.21

After the update to another version of DirectFB the ut-bin will be broken.

I fixed this issue by:
cp /usr/portage/dev-libs/DirectFB-0.9.22 /usr/portage/dev-libs/DirectFB-0.9.21
emerge '=dev-libs/DirectFB-0.9.21'
cd /opt/unreal-tournament/System
cp /usr/lib/{libdirect-0.9.so.21,libdirectfb-0.9.so.21,libfusion-0.9.so.21} .
chgrp games {libdirect-0.9.so.21,libdirectfb-0.9.so.21,libfusion-0.9.so.21}
chmod 750 {libdirect-0.9.so.21,libdirectfb-0.9.so.21,libfusion-0.9.so.21}

The ut script already points the LD_LIBRARY_PATH to ./System and needs no editing.


Reproducible: Always
Steps to Reproduce:
1.emerge '=dev-libs/DirectFB-0.9.22'
2.ut
3.

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


Expected Results:  
start unreal-tournament


Note: the ut-bin that is included with the 451 patch (UTPGPatch451.tar.bz2) is
not an dynamic executable (according to ldd) but does give the error, however
the ut-bin that was present in my /opt/unreal-tournament/System _IS_ a dynamic
executable, I have no idea why these 2 differ.. ?

If the ut-bin can be compiled (it can as it seems as ldd output on that file
suggests that it was compiled on my system as it uses
"/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/libgcc_s.so.1"), please update
the ebuild so that it will recompile when it's deps get updated (without
removing the /opt/unreal-tournament dir containing all the nice dloaded levels :-)
Comment 1 SpanKY gentoo-dev 2005-05-31 18:21:07 UTC
re-emerge libsdl