[gopher] Dynamically linked Mosaic on Linux??
Florian E. Teply
usenet at teply.info
Tue Nov 16 17:38:01 UTC 2010
On Sun, 14 Nov 2010 20:42:07 -0800 (PST)
Cameron Kaiser <spectre at floodgap.com> wrote:
> > > If you link Mosaic statically against libpng.a, does that fix the
> > > problem? That at least gives me an idea where to look.
> > >
> >
> > Umm, not quite. Had to fiddle around some in order to make it
> > compile at all:
> > * changed prefs.c according to your last mail
> > * changed readPNG.c to call png_create_info_struct instead of
> > png_info_init in line 162
> >
> > as it seems, png_info_init() has been removed from libpng-1.4.3, at
> > least i've seen it only inside a comment.
>
> AHA. I didn't notice the version of libpng you were using. Does using
> 1.2.44 fix it? I'll get around to making it compatible with 1.4.x but
> I just want to make sure that's the only issue.
>
> http://www.libpng.org/pub/png/libpng.html
>
Apparently, it doesn't crash when hitting google result pages now.
It seems that even though i specifically put the full path to
libpng12.a into the Makefile, Mosaic seems to be linked dynamically
against libpng.so.12 . To be more precise, Mosaic seems to be fully
dynamically linked. I wont complain about that ;-)
Best regards,
Florian
More information about the Gopher-Project
mailing list