xmubingo / webp

Automatically exported from code.google.com/p/webp
0 stars 0 forks source link

gif link issues for webpconv 0.0.5 #42

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If you have libgif.a installed, leptonica detects it and makes use of GIF.
But webpconv tool does not link -lgif and produces errors.
Add -lgif to the makefile and it works
Affects cygwin, but could affect any platform that has gif

Original issue reported on code.google.com by fbarch...@google.com on 14 Dec 2010 at 6:50

GoogleCodeExporter commented 9 years ago
The new WebP encoder & decoder doesn't have dependency on libgif. Only the 
dependencies on libpng & libjpeg is sufficient.

vikas[104] ldd /usr/local/bin/cwebp
    linux-vdso.so.1 =>  (0x00007fffc79ff000)
    libwebp.so.0 => /usr/local/lib/libwebp.so.0 (0x00007f3adbfbe000)
    libpng12.so.0 => /lib/libpng12.so.0 (0x00007f3adbd97000)
    libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x00007f3adbb72000)
    libc.so.6 => /lib/libc.so.6 (0x00007f3adb7ef000)
    libm.so.6 => /lib/libm.so.6 (0x00007f3adb56c000)
    libz.so.1 => /lib/libz.so.1 (0x00007f3adb354000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f3adc202000)

vikas[106] ldd /usr/local/bin/dwebp
    linux-vdso.so.1 =>  (0x00007fff5dbff000)
    libwebp.so.0 => /usr/local/lib/libwebp.so.0 (0x00007ffe10935000)
    libpng12.so.0 => /lib/libpng12.so.0 (0x00007ffe1070e000)
    libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x00007ffe104e9000)
    libc.so.6 => /lib/libc.so.6 (0x00007ffe10166000)
    libm.so.6 => /lib/libm.so.6 (0x00007ffe0fee3000)
    libz.so.1 => /lib/libz.so.1 (0x00007ffe0fccb000)
    /lib64/ld-linux-x86-64.so.2 (0x00007ffe10b79000)

Original comment by vikaas.a...@gmail.com on 21 Mar 2011 at 5:10