View previous topic :: View next topic |
Author |
Message |
Massimo B. Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/1411393680427a4354494d7.gif)
Joined: 09 Feb 2005 Posts: 1771 Location: PB, Germany
|
Posted: Mon Dec 09, 2013 7:26 am Post subject: optipng: built with libpng-1.2.44 but running with 1.6.6 |
|
|
Hi,
there is something wrong linked and I can't get it solved:
Code: | $ optipng -v *.png
OptiPNG version 0.7.4
Copyright (C) 2001-2012 Cosmin Truta and the Contributing Authors.
** Processing: screenshot-1386572383828.png
Warning: Application built with libpng-1.2.44 but running with 1.6.6
Error: Out of memory |
Code: | $ eix media-libs/libpng
[I] media-libs/libpng
Available versions:
(1.2) 1.2.50 ~1.2.50-r1
(0) 1.5.15 1.5.17-r1 (~)1.6.6(0/16) ~1.6.7(0/16)
(1.5) ~1.5.17-r15
{apng neon static-libs ABI_MIPS="n32 n64 o32" ABI_X86="32 64 x32"}
Installed versions: 1.2.50(1.2)(02:09:58 12.11.2013) 1.6.6(08:13:02 09.12.2013)(apng static-libs -neon ABI_MIPS="-n32 -n64 -o32" ABI_X86="64 -32 -x32")
Homepage: http://www.libpng.org/
Description: Portable Network Graphics library
$ eix optipng
[I] media-gfx/optipng
Available versions: 0.7.3 (~)0.7.3-r1 (~)0.7.4
Installed versions: 0.7.4(08:13:58 09.12.2013)
Homepage: http://optipng.sourceforge.net/
Description: Compress PNG files without affecting image quality |
I have both re-emerged, like emerge --oneshot optipng libpng.
I also tried the stable version of optipng.
Code: | $ ldd /usr/bin/optipng
linux-vdso.so.1 (0x00007fff2d7ff000)
libpng16.so.16 => /usr/lib64/libpng16.so.16 (0x00007f561383f000)
libz.so.1 => /lib64/libz.so.1 (0x00000032bf200000)
libc.so.6 => /lib64/libc.so.6 (0x00000032be600000)
libm.so.6 => /lib64/libm.so.6 (0x00000032bf600000)
/lib64/ld-linux-x86-64.so.2 (0x00000032be200000) |
However it looks like the application is linked to 1.6 but claims to be built with 1.2? _________________ HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
anbc n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 26 Jul 2013 Posts: 47
|
Posted: Tue Dec 10, 2013 4:22 pm Post subject: |
|
|
remove static-libs?
# emerge -a --depclean optipng
# emerge -a --depclean libpng:1.2 libpng:1.5
# emerge libpng USE="apng (-neon) -static-libs" ABI_X86="(64) -32 (-x32)"
# emerge optipng |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Massimo B. Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/1411393680427a4354494d7.gif)
Joined: 09 Feb 2005 Posts: 1771 Location: PB, Germany
|
Posted: Tue Dec 10, 2013 4:33 pm Post subject: |
|
|
This was required for splashutils: Code: | $ USE="-static-libs" emerge -auNDtv optipng
(media-libs/libpng-1.6.7::gentoo, ebuild scheduled for merge) conflicts with
>=media-libs/libpng-1.4.3[static-libs] required by (media-gfx/splashutils-1.5.4.4-r4::gentoo, installed) | So what is the solution? _________________ HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
anbc n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 26 Jul 2013 Posts: 47
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Massimo B. Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/1411393680427a4354494d7.gif)
Joined: 09 Feb 2005 Posts: 1771 Location: PB, Germany
|
Posted: Wed Dec 11, 2013 8:39 am Post subject: |
|
|
That did not help.
emerge -1 libpng:0 did install (~)1.6.6(0/16).
After that emerge @preserved-rebuild did install 1.2.50. Re-emerging optipng did not help.
I thought revdep-rebuild is deprecated because of @preserved-rebuild?
Code: | $ revdep-rebuild -iv -- -avt --keep-going | is just running now...nothing found.
I could drop splashutils for now. However is it worth a bugreport that splashutils requiring static-libs libpng doesn't conform with optipng?
However libpng was rebuilt with -static-libs now but still the same problem. I also tried your hint again: Code: | $ emerge -a --depclean libpng:1.2 libpng:1.5
$ USE="apng (-neon) -static-libs" ABI_X86="(64) -32 (-x32)" emerge libpng
$ emerge optipng |
But still the same: Code: | $ optipng -o5 -v *.png
OptiPNG version 0.7.4
Copyright (C) 2001-2012 Cosmin Truta and the Contributing Authors.
** Processing: screenshot.png
Warning: Application built with libpng-1.2.49 but running with 1.6.6
Error: Out of memory |
_________________ HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Massimo B. Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/1411393680427a4354494d7.gif)
Joined: 09 Feb 2005 Posts: 1771 Location: PB, Germany
|
Posted: Mon Dec 16, 2013 1:49 pm Post subject: |
|
|
Further trying: Code: | $ ls -al /usr/lib64/libpng*
-rwxr-xr-x 1 root root 155K Dez 11 09:30 /usr/lib64/libpng12.so.0*
lrwxrwxrwx 1 root root 19 Apr 24 2013 /usr/lib64/libpng15.so.15 -> libpng15.so.15.15.0*
-rwxr-xr-x 1 root root 186K Apr 24 2013 /usr/lib64/libpng15.so.15.15.0*
lrwxrwxrwx 1 root root 18 Dez 11 09:49 /usr/lib64/libpng16.so -> libpng16.so.16.6.0*
lrwxrwxrwx 1 root root 18 Dez 11 09:49 /usr/lib64/libpng16.so.16 -> libpng16.so.16.6.0*
-rwxr-xr-x 1 root root 218K Dez 11 09:49 /usr/lib64/libpng16.so.16.6.0*
lrwxrwxrwx 1 root root 11 Dez 11 09:49 /usr/lib64/libpng.so -> libpng16.so*
$ LD_PRELOAD="/usr/lib64/libpng12.so.0" optipng ./error_screenshot.png
** Processing: ./error_screenshot.png
Warning: Application built with libpng-1.2.49 but running with 1.6.6
Error: Out of memory
** Status report
1 file(s) have been processed.
1 error(s) have been encountered.
$ cd /usr/lib64; sudo ln -sf libpng12.so.0 libpng16.so.16 # testing
‘libpng16.so.16’ -> ‘libpng12.so.0’
$ optipng ./error_screenshot.png
optipng: /usr/lib64/libpng16.so.16: version `PNG16_0' not found (required by optipng)
$ cd /usr/lib64; sudo ln -sf libpng16.so.16.6.0 libpng16.so.16 # recovering
‘libpng16.so.16’ -> ‘libpng16.so.16.6.0’ |
_________________ HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Massimo B. Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/1411393680427a4354494d7.gif)
Joined: 09 Feb 2005 Posts: 1771 Location: PB, Germany
|
Posted: Wed Dec 18, 2013 7:46 am Post subject: |
|
|
Filed a bug report -> bug 494616 _________________ HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|