Hi,
I solved the libpng conflict. I think the problem was that when Root builds the libAfterImage, it somehow doesn’t tell libAfterImage which version of libpng should be used. This is probably because the configure script of libAfterImage is not flexible enough. So libAfterImage picked up some libpng from a default location, while at runtime it tried to find the libpng that was configured by Root.
Solved like this:
-
configure Root (from fresh 5-34-18 sources)
./configure --enable-roofit --enable-table --enable-opengl --disable-cocoa --enable-builtin-freetype -
make Root. This makes the version that suffers from the conflict.
make -j4 -
I had patched the libAfterImage configure script to print out the options it is being called with. Then I add --with-builtin-png=yes and build again
cd graf2d/asimage/src/libAfterImage
make clean
./configure --with-ttf --with-ttf-includes=-I…/…/…/…/graf2d/freetype/src/freetype-2.3.12/include --with-afterbase=no --without-svg --disable-glx --with-builtin-ungif --with-jpeg --with-jpeg-includes=/usr/local/include --with-png --with-png-includes=/usr/local/include --with-tiff-includes=/usr/local/include --with-builtin-png=yes
make -
Go back to root directory and call make again to pick up the new libAfterImage:
cd -
make -j4
Done!