This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: ecos-2.0, configtool and libpng
- From: John Dallaway <jld at ecoscentric dot com>
- To: John Carter <john dot carter at tait dot co dot nz>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Tue, 10 Jun 2003 08:49:14 +0100
- Subject: [ECOS] Re: ecos-2.0, configtool and libpng
- Organization: eCosCentric Limited
Hi John
John Carter wrote:
> We are using Mandrake 9.1 and have just d/loaded ecos-2.0 and have found
> to our sorrow that configtool doesn't work.
>
> The problem is the version of libpng. Here is the output of
> "ldd configtool"...
>
> ldd configtool
> libgtk-1.2.so.0 => /usr/lib/libgtk-1.2.so.0 (0x40025000)
> libgdk-1.2.so.0 => /usr/lib/libgdk-1.2.so.0 (0x40171000)
> libgmodule-1.2.so.0 => /usr/lib/libgmodule-1.2.so.0 (0x401aa000)
> libgthread-1.2.so.0 => /usr/lib/libgthread-1.2.so.0 (0x401ae000)
> libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0x401b1000)
> libpthread.so.0 => /lib/i686/libpthread.so.0 (0x401d9000)
> libdl.so.2 => /lib/libdl.so.2 (0x40229000)
> libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x4022c000)
> libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40234000)
> libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40243000)
> libpng.so.2 => not found
> libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x40322000)
> libtiff.so.3 => /usr/lib/libtiff.so.3 (0x40343000)
> libm.so.6 => /lib/i686/libm.so.6 (0x40388000)
> libc.so.6 => /lib/i686/libc.so.6 (0x403aa000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
> libz.so.1 => /lib/libz.so.1 (0x404de000)
>
> Compare that with the output of ldd for ecos-2.0b1 configtool
> ldd configtool
> libgtk-1.2.so.0 => /usr/lib/libgtk-1.2.so.0 (0x40025000)
> libgdk-1.2.so.0 => /usr/lib/libgdk-1.2.so.0 (0x40171000)
> libgmodule-1.2.so.0 => /usr/lib/libgmodule-1.2.so.0 (0x401aa000)
> libgthread-1.2.so.0 => /usr/lib/libgthread-1.2.so.0 (0x401ae000)
> libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0x401b1000)
> libpthread.so.0 => /lib/i686/libpthread.so.0 (0x401d9000)
> libdl.so.2 => /lib/libdl.so.2 (0x40229000)
> libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x4022c000)
> libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40234000)
> libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40243000)
> libm.so.6 => /lib/i686/libm.so.6 (0x40322000)
> libc.so.6 => /lib/i686/libc.so.6 (0x40344000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
>
> Mandrake 9.1 only supplies...
> locate lib/libpng
> /usr/lib/libpng.so.3
> /usr/lib/libpng.so.3.1.2.5
> /usr/lib/libpng12.so.0
> /usr/lib/libpng12.so.0.1.2.5
> /usr/lib/libpng.so
> /usr/lib/libpng12.so
>
> What suggestions?
The difference between 2.0b1 and 2.0 builds of the configtool arises from
the move to a much more recent version of wxWindows. You could try creating
a symbolic link named /usr/lib/libpng.so.2 which points to libpng.so.3 but
this will only work if the libpng.so.3 API is strictly backwards compatible
with libpng.so.2. Otherwise, you could try building you own libpng 1.0.x
from source code. Finally, you could build wxWindows 2.4.0 and the
configtool from source under Mandrake 9.1. Details at:
http://www.ecoscentric.com/devzone/configtool.shtml
Actually, it is helpful to know that this compatibility issue exists. Please
let me know whether the symbolic link works or not.
John Dallaway
eCosCentric Limited
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss