View Single Post
Old 15th April 2006, 08:23 PM   #1
ronlc2
Junior Member
Junior member
 
Join Date: Apr 2006
Posts: 1
Default update to png plugin / or build static

I'm trying to load a model with .png textures, but when ac3d (or ac3ds, I'm running gentoo linux) starts up I see the following messages:

failed to load plugin '/home/speedy1/builds/ac3dlx/plugins/pngload.p'
error: libpng.so.2: cannot open shared object file: No such file or directory

and further down,

failed to load plugin '/home/speedy1/builds/ac3dlx/plugins/savepng.p'
error: libpng.so.2: cannot open shared object file: No such file or directory

I have libpng 1.2.8 installed which only provides libpng.so.3, and I did try to link libpng.so to libpng.so.2 as a workaround, but the library noticed and refused to work:

libpng warning: Application was compiled with png.h from libpng-1.0.12
libpng warning: Application is running with png.c from libpng-1.2.8
libpng error: Incompatible libpng version in application and library
can't assign texture /home/speedy1/pics/forest.png

Is it possible to update both of the png plugins to use a more recent version of the libpng library? Or, along with ac3ds, supply statically built plugins that don't require me to have a particular library version installed?

Thanks.
ronlc2 is offline   Reply With Quote