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]

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@sourceware.cygnus.com


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