[Digikam-devel] Compile problems png library

Gerhard Kulzer gerhard at kulzer.net
Mon Mar 20 06:20:32 GMT 2006


Hi Gilles and Aschwin,
I'm still struggling with the png lib. In the png-mng-implementation ML I 
found a discussion string about how Debian goes about the png implementation. 
But having analyzed a bit the differences between Debian source and 
sourceforge.net I don't think it's the Debian implementation. It seems to me 
(with my restricted understanding of things) that the missing functions are 
private now:
        png_read_data
        png_crc_finish
        png_get_uint_32
        png_reset_crc
        png_crc_read
        png_read_transform_info
        png_write_data
 
 They are not exported into the symfile anymore. I don't know when this change 
happened, but somewhere along 1.2.8 version.
Gilles, what version exactly do you have on your Mandriva? I have 1.2.8-rel5

Gerhard


On Friday 17 March 2006 15:56, you wrote:
> Hi again!
> A few minutes later, I found out that the symbols are present in the
> static library (/usr/lib/libpng12.a), but many of them are not in the
> dynamic library (/usr/lib/libpng12.so.0.1.2.8).
>
> I consider this to be a bug in the debian vesion of libpng and I am
> considering to report this to the debian bug tracker. Tonight, I will
> try to compile a version of libpng on myself, to check for that.
>
> Greetings,
>
> Aschwin
>
> Gerhard Kulzer schrieb:
> > On Friday 17 March 2006 12:21, you wrote:
> >>Hi Gerhard,
> >>I read your posts in the digkam devel mailing list regarding your
> >>compile problems with recent svn on debian. I have the same problem and
> >>I am somewhat lost (which is strange). Did you find the cause of the
> >>problem? It seems the libpng in debian is not correct, but it looks
> >> good...
> >>
> >>Strange...
> >>
> >>Regards
> >>
> >>Aschwin
> >>
> >>Aschwin Gopalan
> >
> > No, unfortunately I didn't find any solution yet and I'm more or less at
> > the end of my wits. I changed all Makefiles to link with -lpng -lz -lm
> > and with -lpng12 as requested by libpng12-config (but I don't believe the
> > -lpng12 is necessary, libpng it probably backwards comptible).
> > I also created a link libpng.so.3 -> libpng12.so.0 to no avail. What is
> > stange so is the fact that this link is not taken into account by
> > ldconfig, ldconfig -p doesn't show it.
> > ldconfig -p|grep png
> >         libpng12.so.0 (libc6) => /usr/lib/libpng12.so.0
> >         libpng12.so (libc6) => /usr/lib/libpng12.so
> >
> > ls -la /usr/lib/libpng*
> > -rw-r--r-- 1 187938 2005-10-03 20:46 /usr/lib/libpng12.a
> > lrwxrwxrwx 1  13  /usr/lib/libpng12.so -> libpng12.so.0
> > lrwxrwxrwx 1  19  /usr/lib/libpng12.so.0 -> libpng12.so.0.1.2.8
> > -rw-r--r-- 1  148320  /usr/lib/libpng12.so.0.1.2.8
> > lrwxrwxrwx 1  /usr/lib/libpng.a -> libpng12.a
> > lrwxrwxrwx 1  /usr/lib/libpng.so -> libpng12.so
> > lrwxrwxrwx 1  /usr/lib/libpng.so.3 -> libpng12.so.0
> >
> > You've any further idea?



More information about the Digikam-devel mailing list