← Back to team overview

unity-dev team mailing list archive

[Ayatana-dev] [Compiz] Unity failing to load

 

Hi people,

I'm probably doing something stupid, but I'm not sure what it is.

I've finally managed to debug enough to find out what the error itself is 
though.

WARN  2011-08-01 13:09:12 unity.places PlacesStyle.cpp:253 Unable to texture 
/home/tim/staging/share/unity/4/search_magnify.png: Couldn't recognize the 
image file format for file '/home/tim/staging/share/unity/4/search_magnify.png'

(and five others)

followed by a SIGSEGV due to an unexpected unloaded texture (one of those that 
failed).

Why would the gdk image loader for PNG files not be loaded?

I ran gdb with LD_DEBUG=files to show me all of the libraries being loaded, and 
the expected /usr/lib/x86_64-linux-gnu/gdk-
pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so wasn't loaded.

The other two png libraries:
  /home/tim/staging/lib/compiz/libimgpng.so
  /lib/x86_64-linux-gnu/libpng12.so.0.44.0

were loaded.  The function call that is failing is  gdk_pixbuf_new_from_file, 
and it seems it isn't able to load the png loader for some weird reason.

When running my local compiz, I run the following command first

function unity-env
{
  export PATH=~/staging/bin:$PATH
  export XDG_DATA_DIRS=~/staging/share
  export LD_LIBRARY_PATH=~/staging/lib:$LD_LIBRARY_PATH
  export LD_RUN_PATH=~/staging/lib:$LD_RUN_PATH
  export PKG_CONFIG_PATH=~/staging/lib/pkgconfig
  export PYTHONPATH=~/staging/lib/python2.7/site-packages
}

Anyone got any clues?

Cheers,
Tim

Attachment: signature.asc
Description: This is a digitally signed message part.


Follow ups