Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-Id: <4.3.1.2.20020311094932.01d96870@pop.ma.ultranet.com> X-Sender: lhall AT pop DOT ma DOT ultranet DOT com X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Date: Mon, 11 Mar 2002 09:52:46 -0500 To: "Ames Andreas (PN-SYS/A)" , cygwin AT cygwin DOT com From: "Larry Hall (RFK Partners, Inc)" Subject: Re: Problem with PATH env when starting sshd with cygrunsrv In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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 AT rfk DOT 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/