On 2016-11-21 23:45, Pierre Rudloff wrote:
By default mozjpeg is installed in /opt/mozjpeg/. You don't even need
to use LD_PRELOAD as the binary it installs is automatically linked to
/opt/mozjpeg/lib64/libjpeg.so.
(The conflict issue I was raising is only if want to include mozjpeg in
Debian and install it in /usr/.)
Actually I just thought that utility tools in bin/ could be statically
linked like in the example below:
root@debian:~# ./configure --disable-shared; make clean install
root@debian:~# ldd /opt/mozjpeg/bin/cjpeg
linux-gate.so.1 (0xb7768000)
libpng12.so.0 => /lib/i386-linux-gnu/libpng12.so.0 (0xb7728000)
libm.so.6 => /lib/i386-linux-gnu/i686/cmov/libm.so.6
(0xb76e2000)
libc.so.6 => /lib/i386-linux-gnu/i686/cmov/libc.so.6
(0xb7537000)
libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xb751a000)
/lib/ld-linux.so.2 (0x8002f000)
Now one can package _only_ binaries and omit the (conflicting) library.
Wouldn't this be a solution to finally allow mozjpeg into Debian repo?
--
With best regards,
Dmitry