« This month's emusic picks, ssh on the Rogers BlackberryEvangelical Lutheran Worship Communion setting poll »

Stopped due to shared library event when using libpng and SDL_image

01/26/08

  08:15:07 pm by wdawe, Categories: centos, linux

Ever since I upgraded to Centos 5 I have noticed that I have been getting a "stopped due to shared library event" message in the Eclipse console when loading a png. This was only a minor irritation until I started to load a sequence of hundreds of png's. It was only a problem when running in Eclipse because the message causes the debugger to stop and then resume the program. After much digging and recompiling SDL to add some additional logging I found that when the SDL_image library was loading an image the SDL library was trying to load libpng.0.3 when SDL had been compiled against libpng12. Rebuilding SDL_image resulted in the same problem, a library looking for libpng.0.3 instead of libpng12. Renaming libpng.0.3 and rebuilding the SDL_image solved the problem.

No feedback yet


Form is loading...

Cool web tools, EEPC tips and Linux info. Browse around, I'm sure you will find something to interest you.

Search

  XML Feeds

CMS with Bootstrap