delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2026/01/12/05:42:33

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 60CAgWkk4026573
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 60CAgWkk4026573
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=JaT/f8o3
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5AB654BA2E35
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1768214551;
bh=V9MERZl0I3BwkdVoqpYw6k5F1MlO97SWvCb5qVyUMdw=;
h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=JaT/f8o3wDakcvUEo2CKn913yvMn6tzu5GeHQmyQRLb4PwD0BIs8WtgJKZfnrgja4
HOpKNWZ1wR46Egt7YEGYr5/km+Yi1KBks7zjp10Bdrm1IFlv9jaHZUjfGt0cE4Mvev
NxdJ3HPg9ybF5Y5Pd4PK9+3u7mQD1ekakDdBJnqw=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2E34B4BA540B
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 2E34B4BA540B
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1768214502; cv=none;
b=oz1Y7zNxjvTiu7J+HPYr98SkTfHtPK8nEU3Rej/qfRnbQPIDLKOPkj8vEQL0yBfe/bfWlQOHxIUbVdACK5lcSmKbDz4t5zcMUyohrPoUNRWyLYWruoE3ZLeoQL03+25sgIkSHsxO4S6n1u+WpzXOsuRQfVpeoC1n4I8M04OYOuA=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1768214502; c=relaxed/simple;
bh=KtKKhQ/FhrJyeZ9Xd9X8dmlfFyFdkzBX/3UiqrO2ZmI=;
h=DKIM-Signature:Message-ID:Date:MIME-Version:To:From:Subject;
b=JrXzpYolrpPGZmC/vk9mZek7+uY6kXvc/4QzPFpxX7e2L8t351LAsAQXKIj4KF5312Uj+tjWqq+UxSbjY2RxZXSLn06Vbvv6PyciEVKv7P05uYx/1Rrgs+L7mTKcOFHDIeQRZSEQZTiNVfyPhwqACsl/rxUByyBxYqwcVUjBAgw=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2E34B4BA540B
X-KPN-MessageId: 4cdb0933-efa3-11f0-929b-005056aba152
X-KPN-MID: 33|q5bt27ivDBd4NBjalJ9oHy7kT8BFG3PY1c+9HMNyOlYtvYUVV7E4yJsbQ/6yGYK
v79LtAZStxqkHS7L1YIWE1FSwUCDQz6YJhV/GoJBPjEA=
X-KPN-VerifiedSender: Yes
X-CMASSUN: 33|88Exeun/+Dl8kdMFV6jY0vtmKNK8BAjwEx1RQQzvI1SFcwUHCSSajE4NAfOd3te
BZHIoI/9WyXsLixQYFJD5mQ==
X-Originating-IP: 77.173.35.122
Message-ID: <bdecadfa-e28c-45b9-a857-be65bf033b94@xs4all.nl>
Date: Mon, 12 Jan 2026 11:41:40 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
To: cygwin AT cygwin DOT com
Subject: Not in PATH syndrome?
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: "J.H. vd Water via Cygwin" <cygwin AT cygwin DOT com>
Reply-To: "J.H. vd Water" <dhr-incognito AT xs4all DOT nl>
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>

Hi,

Please, help me jog my memory ...

I have Cygwin installed in e:/Cygwin and in e:/Cygwin2; there is no
difference between the two, except for the topdir.

1. Using Cygwin in e:/Cygwin2: <= TWO

@@ mount -p   # my prompt = '@@ '
Prefix Type Flags
/drv   user binmode

PATH=/usr/bin:...

@@ PATH=/drv/e/Cygwin/bin:$PATH which --version # fails (retval 127)
@@ ls /drv/e/Cygwin/bin/which*
/drv/e/Cygwin/bin/which.exe

@@ PATH=$PATH:/drv/e/Cygwin/bin which --version
GNU which v2.29 ...

---
Of course, the same thing happens while using Cygwin in e:/Cygwin

@@ mount -p
Prefix Type Flags
/drv   user binmode

PATH=/usr/bin:...

@@ PATH=/drv/e/Cygwin2/bin:$PATH which --version # fails (retval 127)
@@ ls /drv/e/Cygwin2/bin/which*
/drv/e/Cygwin2/bin/which.exe

@@ PATH=$PATH:/drv/e/Cygwin2/bin which --version
GNU which v2.29 ...

Why does the invocation of the executable fail "if referred to outside
the current installation ..., while the necessary dll's, libraries are
present, or so it seems to me".

I seem to remember that Cygwin looks for the necessary libs in the lib
directory, that is "peer" to the bin directory ...

Hope someone can shed some light here ...

Regards Henri

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

- Raw text -


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