[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

libpng confusion



hi-

i have libpng:
dylan@cmn:~/src/plsrc211linux/src$ dpkg -l | grep png
ii  libpng2        1.0.12-3.woody PNG library - runtime

and have also compiled and installed (manually) version 1.2.5:


tried compiling and running an app that needs this lib, however when i run
it i get:
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.5
gd-png:  fatal libpng error: Incompatible libpng version in application and
library


relevant contents of my /usr/lib/ dir:
cmn:/home/dylan/src/plsrc211linux/src# ls -l /usr/lib/libpng*
-rw-r--r--    1 root     root       260082 Dec  6  2002 /usr/lib/libpng.a
lrwxrwxrwx    1 root     root           28 Oct 26 13:21 /usr/lib/libpng.so
-> /usr/lib/libpng12.so.0.1.2.5
lrwxrwxrwx    1 root     root           28 Oct 26 13:27 /usr/lib/libpng.so.2
-> /usr/lib/libpng12.so.0.1.2.5
-rw-r--r--    1 root     root       195140 Dec  7  2002
/usr/lib/libpng.so.2.1.0.12
-rwxr-xr-x    1 root     root       222607 Dec  6  2002
/usr/lib/libpng.so.3.1.2.5
-rw-r--r--    1 root     root       260082 Dec  6  2002 /usr/lib/libpng12.a
-rwxr-xr-x    1 root     root       222623 Dec  6  2002 /usr/lib/libpng12.so
lrwxrwxrwx    1 root     root           19 Feb 16  2003
/usr/lib/libpng12.so.0 -> libpng12.so.0.1.2.5
-rwxr-xr-x    1 root     root       222623 Dec  6  2002
/usr/lib/libpng12.so.0.1.2.5
lrwxrwxrwx    1 root     root           28 Oct 26 13:22
/usr/lib/libpng12.so.3 -> /usr/lib/libpng12.so.0.1.2.5


does anyone have any idea on how i can fix this?

thanks !!

dylan

-- 
"The world is a dangerous place to live; not because of the people who are
evil, but because of the people who don't do anything about it."
-Albert Einstein



Reply to: