delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/07/09/17:12:34

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Fri, 9 Jul 2004 17:12:05 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Richard Heintze <sieg_heintze AT yahoo DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: Where is libxml2.dll?
In-Reply-To: <20040709202457.17308.qmail@web50310.mail.yahoo.com>
Message-ID: <Pine.GSO.4.58.0407091707560.18584@slinky.cs.nyu.edu>
References: <20040709202457 DOT 17308 DOT qmail AT web50310 DOT mail DOT yahoo DOT com>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

On Fri, 9 Jul 2004, Richard Heintze wrote:

> I am running Windows 2003 server with on which I have
> installed cygwin within the last month.
>
> I found a terrific little utility (webdav client) at
> http://www.gohome.org/nd/ which I downloaded and
> compiled (with gcc) with cygwin. At the bash command
> prompt, it appears to work.
>
> However, it is intended to be run from emacs. When I
> create a shell with emacs, it starts up a bash shell
> as a sub process and I get the error: "this
> application has failed to start because libxml2.dll
> was not found. Re-installing the application my fix
> this problem.". Well there is no libxml2.dll on my
> system but the command works from the bash command
> prompt! HOw could this be?
>
> I notice there are libxml2.dll.a and libxml2.a and
> libxml2.la in my /usr/lib directory! This must be the
> one! Why cannot the bash shell find it when run under
> emacs? Do I need to put c:\cygwin\lib in my PATH
> environment variable?
>
>   Thanks,
>       Siegfried

Siegfried,

You don't need c:\cygwin\lib in your path, but you do need c:\cygwin\bin
there if you intend to run Cygwin applications from Win32 ones.
FWIW, the actual name of the DLL is cygxml2-2.dll (which you could have
determined by examining /usr/lib/libxml2.la), but it's surprising that it
looks for libxml2.dll.  Can you start a regular bash shell from Emacs?
Can you run "cygcheck yourapp" from that shell before running "yourapp"?
What does the output of the above cygcheck command show?
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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