Quote |
Side note (Juanito): compile-3.3.5 has /tmp/{png,pngconf}.h points to libpng2's and not libpng12's; In .../include libpng points to libpng2 whereas in .../lib/pkgconfig libpng.pc points to libpng12.pc. I'm wondering if there's some sort of disrepancy here. |
Quote |
Perhaps now, several years on, everybody would want to compile against the most recent libpng. |
Quote |
If that were the case, consider using libpng3 instead of libpng2 |
Code Sample |
$ ls -l /usr/lib/libpng* lrwxrwxrwx 1 root root 18 Feb 19 2008 /usr/lib/libpng.so.2 -> libpng.so.2.1.0.12 -rw-r--r-- 1 root root 175132 Jun 25 2005 /usr/lib/libpng.so.2.1.0.12 lrwxrwxrwx 1 root root 20 Feb 19 2008 /usr/lib/libpng10.so.0 -> libpng10.so.0.1.0.15 -rw-r--r-- 1 root root 130244 Jun 25 2005 /usr/lib/libpng10.so.0.1.0.15 lrwxrwxrwx 1 root root 19 Feb 19 2008 /usr/lib/libpng12.so.0 -> libpng12.so.0.1.2.5 -rw-r--r-- 1 root root 134384 Jun 25 2005 /usr/lib/libpng12.so.0.1.2.5 |
Code Sample |
$ ls -l /opt/compile-3.3.5/include/libpng* /opt/compile-3.3.5/include/libpng [-> /opt/compile-3.3.5/include/libpng2] /opt/compile-3.3.5/include/libpng10: png.h pngconf.h /opt/compile-3.3.5/include/libpng12: png.h pngconf.h /opt/compile-3.3.5/include/libpng2: png.h pngconf.h $ ls -l /opt/compile-3.3.5/include/png* lrwxrwxrwx 1 root staff 10 May 10 17:59 /opt/compile-3.3.5/include/png.h -> /tmp/png.h lrwxrwxrwx 1 root staff 14 May 10 17:59 /opt/compile-3.3.5/include/pngconf.h -> /tmp/pngconf.h $ ls -l /tmp/png* lrwxrwxrwx 1 root root 40 Nov 2 10:29 /tmp/png.h -> /opt/compile-3.3.5/include/libpng2/png.h lrwxrwxrwx 1 root root 44 Nov 2 10:29 /tmp/pngconf.h -> /opt/compile-3.3.5/include/libpng2/pngconf.h $ ls -l /opt/compile-3.3.5/lib/pkgconfig/libpng* lrwxrwxrwx 1 root staff 11 Jul 19 16:06 /opt/compile-3.3.5/lib/pkgconfig/libpng.pc -> libpng12.pc -rw-r--r-- 1 root staff 247 Jul 19 16:06 /opt/compile-3.3.5/lib/pkgconfig/libpng10.pc -rw-r--r-- 1 root staff 246 Jul 19 16:06 /opt/compile-3.3.5/lib/pkgconfig/libpng12.pc |
Quote | ||
Well OK, but the idea behind compile-3.3.5 was only to provide devs for items in the base dsl... |