Mail Archives: cygwin/2000/11/02/12:37:34
Reposting (just to cygwin) under a different subject to make it
easier to search the archives, since this problem is likely to
show up with other binaries.
Thanks for explaining this so well, Chuck.
> -----Original Message-----
> From: Charles S. Wilson [mailto:cwilson AT ece DOT gatech DOT edu]
> Sent: Thursday, November 02, 2000 12:07 PM
> To: cygwin AT sources DOT redhat DOT com; xemacs-nt AT xemacs DOT org
> Subject: DLL problems with cygwin XEmacs binary kit
>
>
> The XEmacs-21.1.12 binary kit for cygwin, available from
> http://www.xemacs.org/ or its mirrors, was compiled to use the 'old'
> cygwin dlls for libtiff, libjpeg, and libz. Thus, if your system uses
> the latest cygwin versions of these packages, XEmacs will not work and
> will fail with the following message:
>
> Dynamic library "libtiff.dll" not found
>
> or something similar. To correct this, one can either
> rebuild XEmacs to
> link with the new dlls (*), OR you may download the following 'patch
> kit' which contains the old dlls:
>
> http://cygutils.netpedia.net/old-dlls.tar.gz
> ftp://ftp.franken.de/pub/win32/develop/gnuwin32/cygwin/porters
/Wilson_Charles_S/old-dlls.tar.gz
(*) The dll names have changed; that is OLD=libtiff.dll
NEW=cygtiff3.dll. However, the import lib remains the same:
libtiff.dll.a. Thus, there are no changes needed in the XEmacs source
to link with the "new" dll's: -ltiff will use (the new) libtiff.dll.a,
which in turn causes cygtiff3.dll to be added as a dependency.
To install the 'patch kit', cd to /usr/bin and unpack it:
cd /usr/bin
tar xvzf <path>/old-dlls.tar.gz
I do NOT recommend this for long-term use -- the point of changing the
dll names was to avoid conflicts with native dlls with the same name;
adding the old-dlls back in on a permanent basis just makes it that much
worse. Eventually another binary kit (21.1.13?) will come out and if it
is built on an "up-to-date" cygwin it will use the new dlls. So, this
fix is just a temporary necessity -- and only required if you use the
binary kit for cygwin-XEmacs-21.1.12.
--Chuck
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
- Raw text -