delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/11/02/12:23:34

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3A019F24.88D3E49B@ece.gatech.edu>
Date: Thu, 02 Nov 2000 12:06:44 -0500
From: "Charles S. Wilson" <cwilson AT ece DOT gatech DOT edu>
X-Mailer: Mozilla 4.75 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019