[MPlayer-users] Compiling MPlayer

pl p_l at gmx.fr
Thu Jul 4 23:37:02 CEST 2002


On Thu, Jul 04, 2002 at 04:01:25PM -0400, Chris Bergstrom wrote:
> Sylvain Petreolle wrote:

> >>After downloading libpng-1.2.3 and libpng-1.2.3rc6
> >>and installed them
> >>the ./configure says I don't have any png
> >>installed?????
> >>What did I do wrong?
> >>
> >>   
> >>
> >send configure.log to the list [DOCS/bugreport.html]

> Here is my config.log
...
> ============ 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-11345-3115.c -o /tmp/mplayer-conf-8963-3115.o -lpng -lz -lm
> 
> ldd /tmp/mplayer-conf-8963-3115.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)

Clean your build/runtime environment: you compile with one version and
run/link with another, which is not supported as it causes random
segfaults.

-- 
Best regards,
  pl




More information about the MPlayer-users mailing list