"Thompson, David" <[email protected]> skribis: > On Fri, May 2, 2014 at 9:59 AM, Andreas Enge <[email protected]> wrote: >> On Fri, May 02, 2014 at 08:55:58AM -0400, Thompson, David wrote: >>> Thanks for investigating. Abbaye doesn't directly use libpng, >>> SDL_image does, so I think that your copy of Abbaye is not using the >>> latest sdl-image package that propagates libpng (and others). Did you >>> build abbaye yourself or use a substitute from hydra? I noticed that >>> there have been some build failures of SDL libraries to another >>> dependency failing to build. >>> http://hydra.gnu.org/job/gnu/master/sdl-image-1.2.12.x86_64-linux >> >> It happens with the git trunk, which downloads the sdl-image package from >> hydra. >> >> The library is not linked with libpng: >> $ ldd >> /gnu/store/0sp8kyd2vrmsw79gnw0g31wvvdjnfxwc-sdl-image-1.2.12/lib/libSDL_image-1.2.so.0.8.4 >> | grep png >> prints nothing. So maybe an explicit linking step is needed? >> >> Or does sdl-image dlopen the libpng library? Then more work might be needed >> so that the sources contain the correct path. >> >> Andreas >> > > sdl-image dlopen's the libpng library, afaict.
So the trick would be to add an explicit -lpng when linking sdl-image. Ludo’.
