This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Problem with PATH env when starting sshd with cygrunsrv
- From: "Larry Hall (RFK Partners, Inc)" <lhall at rfk dot com>
- To: "Ames Andreas (PN-SYS/A)" <Andreas dot Ames at Tenovis dot com>, cygwin at cygwin dot com
- Date: Mon, 11 Mar 2002 09:52:46 -0500
- Subject: Re: Problem with PATH env when starting sshd with cygrunsrv
At 09:22 AM 3/11/2002, Ames Andreas (PN-SYS/A) wrote:
>Hello,
>
>for the output of 'cygcheck -csv', see below.
>
>As you can see there is another, much older, cygwin1.dll in my path.
>
>If I use:
>
>'cygrunsrv --install sshd --path /usr/sbin/sshd --env
>PATH="\"/bin:$PATH:/bin\"" --args -D'
>
>to install the sshd service (or no path spec at all), starting sshd
>from cygrunsrv (-S) fails, presenting a (windows) message box telling
>me, that the entry point '_ctype_' is missing from cygwin1.dll.
>
>With 'objdump' I can see that '_ctype_' is really missing from
>'c:/programme/sniff/bin/cygwin1.dll' but (as expected) it's present
>within '/bin/cygwin1.dll'.
Delete c:\programme\sniff\bin\cygwin1.dll. NEVER have 2 cygwin*.dll's on
your system. This is stated explicitly in the FAQ:
Is it OK to have multiple copies of the DLL?
http://cygwin.com/faq/faq_4.html#SEC51
Reviewing the mail archives, the FAQ, and the user documentation is always
a good idea before posting a problem. There's lots of information there
that's helpful.
Larry Hall lhall@rfk.com
RFK Partners, Inc. http://www.rfk.com
838 Washington Street (508) 893-9779 - RFK Office
Holliston, MA 01746 (508) 893-9889 - FAX
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/