[MPlayer-users] ./configure --enable-gui

joy joy at pingfm.org
Sun Jul 7 03:47:02 CEST 2002


On Sat, Jul 06, 2002 at 04:56:44PM -0400, Chris Bergstrom wrote:

> ============ Checking for PNG support ============
> 
> #include <png.h>
> #include <string.h>
> int main(void) {
>   printf("png.h : %s\n", PNG_LIBPNG_VER_STRING);
>   printf("libpng: %s\n", png_libpng_ver);
>   return (strcmp(PNG_LIBPNG_VER_STRING, png_libpng_ver));
> }
> 
> gcc    /tmp/mplayer-conf-13499-2111.c -o /tmp/mplayer-conf-23619-2111.o -lpng -lz -lm
> 
> ldd /tmp/mplayer-conf-23619-2111.o
> 	libpng.so.2 => /usr/lib/libpng.so.2 (0x40023000)
> 	libz.so.1 => /lib/libz.so.1 (0x40054000)
> 	libm.so.6 => /lib/libm.so.6 (0x40063000)
> 	libc.so.6 => /lib/libc.so.6 (0x40086000)
> 	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
> 
> png.h : 1.2.3
> libpng: 1.0.12
> Result is: no (mismatch of library and header versions)
		^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
you have the old libpng lying around usually in /usr/lib. delete it
> (or delete all libpngs and png.h's and reainstall) and try again.
btw. it is nothing mplayer specific its some *unix basic. maybe you
> choose a linux-workshop near by you and/or read some books about it.

-- 
regards

____-
joy

________/\---------%%%___________-----------
webcast every sunday 2000 cest at pingfm.org

pgp key at: x-hkp://wwwkeys.de.pgp.net




More information about the MPlayer-users mailing list