Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
conflicting libpng versions
12-16-2010, 12:01 PM,
conflicting libpng versions
I installed vdrift under Slackware 13.1 / The install worked fine, but when I try to start the game I get this error message:

INFO: Your video card doesn't support framebuffer objects. Disabling shaders.
libpng warning: Application was compiled with png.h from libpng-1.4.2
libpng warning: Application is running with png.c from libpng-1.2.43
libpng error: Incompatible libpng version in application and library
ERROR: Error loading texture file: /usr/local/share/games/vdrift/data/textures/weather/cubereflection-nosun.png

I don' t really know how to sort this out. I could off course uninstall libpng-1.4.2 and then reinstall vdrift, but I guess that messes up things.
Could I force vdrift to use its own libpng version during install, or force it to use it when in starts up??

Thanks in advance for any help


12-16-2010, 12:06 PM,
To my knowledge, VDrift is not particularly picky about the version of libpng. It is required by SDL_gfx, not by VDrift directly.

Do you know why you have two versions of libpng installed? Where is each one installed?
12-16-2010, 01:25 PM,
Thanks for your reply
I' m pretty confused at the moment; I thought the libpng 1.2... version was installed by vdrift, but I guess I' m wrong?
In the slackware /var/log/packages I only see the libpng 1.4... version.
I removed it and try to reinstall vdrift. I first removed all possible vdrift packages such as ~/.vdrift, /usr/bin vdrift, etc. and then did the scons install again, but then I got this:
scons: `vdrift' is up to date.
scons: done building targets.
Did i overlook any config file?

Maybe I' m stupid, but I 'm pretty lost here
12-16-2010, 05:10 PM,
I think I know what's going on. You're using package vdrift-2010-06-30.tar.bz2 right? That was compiled on a different Linux distribution than yours, and seems to have been linked against a different version of libpng. I would suggest downloading the source package for 2010-06-30 and compiling it yourself. Better yet, you can just go ahead and get the development version from Subversion and build that. One catch there is that you will need to check out the data repository too. It is about 2 GB so it may take awhile.
12-16-2010, 05:26 PM,
This should be solvable simply by installing libpng 1.2 -- the 1.2.44 package from slackware 13.0 should work.

Forum Jump:

Users browsing this thread: 1 Guest(s)