Missing Library File After GCompris Compilation

Bruno Coudoin bruno.coudoin at free.fr
Tue Mar 9 15:54:35 EST 2010


Le dimanche 07 mars 2010 à 03:51 +0200, Tamer Alkhouli a écrit :
> Hello all,
> 
> 
> I was trying to modify one of the GCompris activities
> (memory-activity), and after bundling the compiled code and trying to
> install it using the sugar-install-bundle command on the XO, I got an
>  error message telling me that libxcb-render-util.so.0 was missing.
> When I copied that file to /usr/lib/ everything worked just fine. Any
> idea why this problem showed in the first place? And how to fix it
> permanently? Note that the non-modified GCompris activity doesn't need
> that  file.

Well each library on which we depend brings its own dependency to us.

It means that if you compile on a system were X depends on the library
libxcb-render then our gcompris binary will require it. But if this
library is not present on a given system then GCompris won't start at
all because GNU/Linux expect all dynamic libraries required by a binary
to be present.

To avoid this situation, all GNU/Linux distribution have a packaging
system in place.

-- 
Bruno Coudoin
http://gcompris.net  Free educational software for kids
http://toulibre.org  Logiciel Libre à Toulouse
http://april.org     Promouvoir et défendre le Logiciel Libre




More information about the Devel mailing list