pingus-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Pingus-Devel] Error message when I launch pingus


From: YuGiOhJCJ Mailing-List
Subject: Re: [Pingus-Devel] Error message when I launch pingus
Date: Fri, 10 May 2013 06:42:29 +0200

On Fri, 10 May 2013 04:25:32 +0200
Ingo Ruhnke <address@hidden> wrote:

> On Fri, May 10, 2013 at 4:02 AM, YuGiOhJCJ Mailing-List <
> address@hidden> wrote:
> 
> > I can open it with GIMP:
> > $ gimp /usr/share/pingus/images/fonts/chalk-40px.png
> >
> > Or check the md5sum:
> > $ md5sum /usr/share/pingus/images/fonts/chalk-40px.png
> > 5eb9e51bbcadc00479da6098df83cf8c
> >  /usr/share/pingus/images/fonts/chalk-40px.png
> > $ md5sum
> > /tmp/pingus-4da0ae9d3544b72587fe862a93b3f9442d6519bd/usr/share/pingus/images/fonts/chalk-40px.png
> > 5eb9e51bbcadc00479da6098df83cf8c
> >  
> > /tmp/pingus-4da0ae9d3544b72587fe862a93b3f9442d6519bd/usr/share/pingus/images/fonts/chalk-40px.png
> >
> > Do you see any other test I can do to discover why I got this problem ?
> >
> 
> "git pull" the latest version, commited a small fix that while not fixing
> the problem, at least should give a better error message.
> 

Problem solved :)

SuperTux had the same problem.
$ supertux 
[...]
Error: Can't load
/usr/bin/../share/supertux/images/status/letters-black.png
[...]

So, the problem was not on Pingus but on SDL_image.

I have written a minimal code using the SDL_image library to be sure.
And I got this error:
$ ./main.out 
IMG_Init: Failed loading png_set_longjmp_fn: /usr/lib/libpng.so.3: undefined 
symbol: _png_set_longjmp_fn

So, the problem is that SDL_image is using my libpng shared library that 
doesn't contain the required symbol.

I have recompiled SDL_image using these options:
--disable--jpg-shared --disable-png-shared --disable-tif-shared 
--disable-webp-shared

And now it works :)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]