This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Problems with Libtiff, Libpng


I removed the WindowMaker binary release from my system, and built it
from source.  It works just fine now.  I checked, and you are right, the
WindowMaker binary release dose include its own libz.dll.  I guess that
a new binary needs to be released w/o libz.dll included.  Thank you very
much!

"Charles S. Wilson" wrote:
> 
> @#$!%@!
> 
> Thank you for reporting this problem with libpng.dll. I asked for
> problem reports, and got none. Therefore I assumed that the libpng-1.0.8
> was ready for primetime.
> 
> I am sorry that appears to not be the case.
> 
> But, you know what? Since nobody bothered to report any of these
> problems at the time, and only happened to mention them in passing
> almost a month later -- I no longer care. You obviously have known about
> the problem with libpng, libz and OpenDX for some time, but neglected to
> tell anybody about it.
> 
> --Chuck
> 
> P.S. It is well known (among the png-developers) that libpng-1.0.6 had
> certain compatibility problems. These were corrected in -1.0.7 and
> 1.0.8. Therefore, if OpenDX worked with -1.0.6 but not later versions,
> it is because OpenDX probably hacked around the 'compatibility' problems
> of 1.0.6, thus making itself incompatible with all other versions of
> that library. IMO, libpng-1.0.8 is not at fault; OpenDX should be fixed
> (or at least, recompiled & relinked).
> 
> P.P.S. I'd recommend that applications NOT include their own versions of
> system dll's (like libz, libpng, libtiff, etc). They should be compiled
> to work with the 'official' versions. That's why I built them, and
> pushed to add them to the official distribution -- so that 27 different
> apps wouldn't all include their own private, incompatible versions of
> libz.dll.  So far, I think OpenDX and WM (and possibly X11) need to be
> recompiled to use the 'official' libz and not build their own.
> 
> X11 is a special case, since it lives in its own directory
> (/usr/X11R6/bin) and can take advantage of peculiarities of the windows
> dynamic loader to force using its own version of libz, regardless of
> $PATH.
> 
> GRENON Richard wrote:
> >
> > Tom Weichmann wrote:
> > >
> > > Hello,
> > >
> > > I may have found a problem with LIBZ.DLL.  When using a binary
> > > distribution of Windowmaker from the xfree project, I get an error.
> > > When running 'wmaker' I get a dialog box stating:
> > >
> > > Error Starting Program
> > > The LIBTIFF.DLL file is linked to missing export LIBZ.DLL:inflateInit_
> >
> > >
> > > The same error occurs in regards to LIBPNG as well.
> > >
> > > I am running cygwin 1.1.3 on Win98
> >
> > I had similar problems with the OpendDX Cygwin binary from
> > www.opendx.org, first with LIBZ.DLL when I was using Cygwin1.1.2 and
> > Suhaib Siddiqi helped me to solve this problem (See opendx-users mailing
> > list). Then I had a new problem with LIBPNG.DLL when I updated to Cygwin
> > 1.1.4.
> >
> > With Cygwin 1.1.2 I had to rename the LIBZ.DLL from the Cygwin
> > distribution to make OpenDX use its own LIBZ.DLL or the X11R6 LIBZ.DLL
> > (both seem identical). Check for all LIBZ.DLL on your hard drive. You
> > should at least try the X11R6 one. If you don't want to rename or remove
> > the Cygwin LIBZ.DLL, maybe you can modify the PATH so as the correct dll
> > is found first.
> >
> > When I updated to Cygwin 1.1.4, LIBZ.DLL from the Cygwin distribution
> > was working with OpenDX, but not LIBPNG.DLL. As the OpenDX binary has no
> > LIBPNG.DLL it should use the Cygwin one. Cygwin 1.1.4 installed
> > libpng-1.0.8-1 and I had to re-install the old Cygwin libpng-1.0.6-1 in
> > order to keep OpenDX working.
> >
> > I hope this could help you.
> >

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]