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: xemacs link problem


Do this:
  'ls /usr/lib/libdb*'
  'ls /usr/bin/libdb*'
  'ls /usr/local/lib/libdb*'
  'ls /usr/local/bin/libdb*'

Your 'cygwin version' 1.1.2 or 1.1.4 does not matter.  This is not a
cygwin problem.  It's a problem with the libdb package(s).  If the
xemacs configure finds the header files for libdb, it will include libdb
in the build process. If xemacs configure does not find the libdb header
files, it will not include libdb in the build process.

Obviously, in the past you did not have libdb installed at all (or only
had one version of libdb), so xemacs did not include libdb in the build
process (or, if it did, there was no conflict between different versions
of libdb because you only had one version installed).

Now, it appears that you have TWO versions of libdb installed, and they
are conflicting.  The solution, of course, is to remove one of them.

An alternate explanation is that you have recently installed Michael's
version (and have never had the cygutils version installed) but that
Michael's version is somehow broken.  It is, after all, an alpha
release.

--Chuck




Guansong Zhang wrote:
> 
> Thnaks for the quick response.
> 
> I am not sure, how should I check?
> 
> I don't know about db package, and I don't find it at all, I mean / do this
> 
> find -name db\*
> 
> I got
> /usr/i686-pc-cygwin/include/dbt.h
> /usr/include/dbm.h
> /usr/include/dbt.h
> /usr/local/lib/xemacs/xemacs-packages/lisp/debug/dbx.el
> /usr/local/lib/xemacs/xemacs-packages/lisp/debug/dbx.elc
> 
> I don't see the package in cygwin download dir either. Besides, why I don't
> need this previously, I mean in 1.1.2?
> 
> Thanks
> 
> Guansong
> 
> ----- Original Message -----
> From: "Charles Wilson" <cwilson@ece.gatech.edu>
> To: "Guansong Zhang" <guansong@hotmail.com>
> Cc: <cygwin@sources.redhat.com>
> Sent: Friday, September 08, 2000 12:47 PM
> Subject: Re: xemacs link problem
> 
> > This looks like a missing library problem, or something similar.  Do you
> > have the 'db' package installed? If so, which version, and from which
> > source? The one from cygutils, or Michael Ring's version, or
> > self-compiled?  My suspicion is that you have both the cygutils static
> > db-2.77 library installed in /usr/local/, and Michael Ring's dll version
> > of db-3.1.17 installed in /usr/.  xemacs seems to be picking up the
> > dll's .h headers, but linking to the static version's library.
> >

--
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]