Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#30860 - [leptonica] Newest webp package breaks dependency
Attached to Project:
Community Packages
Opened by Mathijs van de Nes (mvdnes) - Thursday, 26 July 2012, 12:22 GMT
Last edited by Sergej Pupykin (sergej) - Saturday, 28 July 2012, 10:00 GMT
Opened by Mathijs van de Nes (mvdnes) - Thursday, 26 July 2012, 12:22 GMT
Last edited by Sergej Pupykin (sergej) - Saturday, 28 July 2012, 10:00 GMT
|
DetailsDescription:
When using leptonica 1.69-2 with libwebp 0.1.99-1 it is missing libwebp.so.2. This is because libwebp 0.1.99-1 has version libwebp.so.3. If you downgrade libwebp to 0.1.3-2, the dependency is met, and leptonica is again fully functional. When compiling with the current setup I get errors such as: /usr/bin/ld: warning: libwebp.so.2, needed by /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../lib/liblept.so, not found (try using -rpath or -rpath-link) /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../lib/liblept.so: undefined reference to `WebPDecodeRGBAInto' /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../lib/liblept.so: undefined reference to `WebPEncodeRGBA' /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../lib/liblept.so: undefined reference to `WebPGetInfo' collect2: error: ld returned 1 exit status These dissapear with the older version of libwebp Additional info: * leptonica 1.69-2 * libwebp 0.1.99-1 does not work * libwebp 0.1.3-2 does work $ ldd -r /lib/liblept.so linux-vdso.so.1 (0x00007fff5fc82000) libm.so.6 => /lib/libm.so.6 (0x00007ff175e13000) libz.so.1 => /lib/libz.so.1 (0x00007ff175bfd000) libpng15.so.15 => /lib/libpng15.so.15 (0x00007ff1759cf000) libjpeg.so.8 => /lib/libjpeg.so.8 (0x00007ff17577e000) libgif.so.4 => /lib/libgif.so.4 (0x00007ff175574000) libtiff.so.5 => /lib/libtiff.so.5 (0x00007ff175301000) libwebp.so.2 => not found libc.so.6 => /lib/libc.so.6 (0x00007ff174f5d000) libX11.so.6 => /lib/libX11.so.6 (0x00007ff174c23000) liblzma.so.5 => /lib/liblzma.so.5 (0x00007ff174a00000) /lib/ld-linux-x86-64.so.2 (0x00007ff1764e6000) libxcb.so.1 => /lib/libxcb.so.1 (0x00007ff1747e2000) libdl.so.2 => /lib/libdl.so.2 (0x00007ff1745dd000) libpthread.so.0 => /lib/libpthread.so.0 (0x00007ff1743c1000) libXau.so.6 => /lib/libXau.so.6 (0x00007ff1741bd000) libXdmcp.so.6 => /lib/libXdmcp.so.6 (0x00007ff173fb6000) undefined symbol: WebPGetInfo (/lib/liblept.so) undefined symbol: WebPDecodeRGBAInto (/lib/liblept.so) undefined symbol: WebPEncodeRGBA (/lib/liblept.so) Steps to reproduce: Install leptonica with all it's dependencies, in my case this will be (among others) leptonica 1.69-2 and libwebp 0.1.99-1. Run `ldd -r /lib/liblept.so` to see that the libwebp dependency is not met. |
This task depends upon
Please check leptonica-1.69-3.
$ ldd -r /lib/liblept.so
linux-vdso.so.1 (0x00007fff7971e000)
libm.so.6 => /lib/libm.so.6 (0x00007f91ab695000)
libz.so.1 => /lib/libz.so.1 (0x00007f91ab47f000)
libpng15.so.15 => /lib/libpng15.so.15 (0x00007f91ab251000)
libjpeg.so.8 => /lib/libjpeg.so.8 (0x00007f91ab000000)
libgif.so.4 => /lib/libgif.so.4 (0x00007f91aadf6000)
libtiff.so.5 => /lib/libtiff.so.5 (0x00007f91aab83000)
libwebp.so.3 => /lib/libwebp.so.3 (0x00007f91aa937000)
libc.so.6 => /lib/libc.so.6 (0x00007f91aa593000)
libX11.so.6 => /lib/libX11.so.6 (0x00007f91aa259000)
liblzma.so.5 => /lib/liblzma.so.5 (0x00007f91aa036000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007f91a9e1a000)
/lib/ld-linux-x86-64.so.2 (0x00007f91abd8e000)
libxcb.so.1 => /lib/libxcb.so.1 (0x00007f91a9bfb000)
libdl.so.2 => /lib/libdl.so.2 (0x00007f91a99f7000)
libXau.so.6 => /lib/libXau.so.6 (0x00007f91a97f3000)
libXdmcp.so.6 => /lib/libXdmcp.so.6 (0x00007f91a95ec000)