This is the mail archive of the cygwin 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]
Other format: [Raw text]

Re: Where is libxml2.dll?


Igor,
 That is a handy command! here is the results (from
the emacs compile command:

cd c:/busines/
cygcheck nd.exe
Found: c:\util\nd.exe

c:/util/nd.exe
  C:\cygwin\bin\cygwin1.dll
    C:\WINDOWS\system32\ADVAPI32.DLL
      C:\WINDOWS\system32\KERNEL32.dll
        C:\WINDOWS\system32\ntdll.dll
      C:\WINDOWS\system32\RPCRT4.dll
Error: could not find libxml2.dll

Here is the same command from the bash command window:
Administrator@fasolt ~
$ cygcheck nd
Found: C:\cygwin\usr\local\bin\nd.exe
Found: c:\util\nd.exe
C:/cygwin/usr/local/bin/nd.exe
  C:\cygwin\bin\cygwin1.dll
    C:\WINDOWS\system32\ADVAPI32.DLL
      C:\WINDOWS\system32\KERNEL32.dll
        C:\WINDOWS\system32\ntdll.dll
      C:\WINDOWS\system32\RPCRT4.dll
  C:\cygwin\bin\cygxml2-2.dll
    C:\cygwin\bin\cygz.dll
    C:\cygwin\bin\cygiconv-2.dll

When I removed nd.exe from c:\util the bash shell
running under emacs could not find nd.exe. 

Anybody know why? 
Anybody know how to fix this?

  Thanks,

     Siegfried

--- Igor Pechtchanski <pechtcha@cs.nyu.edu> wrote:
> 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@cs.nyu.edu
> ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/
> 
> 



		
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail

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


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