www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/04/17/14:25:16

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 53HIPGvx2756500
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 53HIPGvx2756500
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=i4MaoUOc
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 74D08385701C
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1744914314;
bh=rgzaeBMgrR9wFGjiOsZFT7cq3noXa3XCD8J+6Dq4D44=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=i4MaoUOcnIRwmHsNWbXnMy7ndhvyVEpj/jDoDKZ1E0IOlH7r+DiusQKbn3CkrNIzp
jUmlGRXnd58/hQmzTbqb7i7y4oNV1e4U6ed8p3oTZf8Mj9tGkPecLr/sID9f4KgcN9
xhVJ0shS19Hm++k4ipIIH47tGvU4ocLe3uXouliw=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7F679385AC1B
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 7F679385AC1B
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1744914182; cv=none;
b=GFHm02zmiJmeFPRu0qGgGlj3MWxyyh6aJz+ogxML/WznE6VP9vwT1nik+5+Z6r1xEf6IPudSre6FkWQkJUUBYpDCbQahAOBP27Bjn5NH1dzumw9RPWQOO6jh5EayruRiU19QgvyHgFszZZvBNso4aZxt0qfwXMMFo/gBGnQnbt8=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1744914182; c=relaxed/simple;
bh=K+iRRqOIkv/Vorc27H45E65nw8Art2CuDoKKF67XG4M=;
h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From;
b=jHiid/wKyNqdu6kMNZbBxkohF1HMVFOW4gkKrb6e24+/wk8WrvLNsMh8QSTIfRK/11VivZoSrVotf59VxWDKJUzKiAvvmDqoX9TD+XMKTrxpNqSisjJULv65aBE1nEtTf7QtF25fxkpdvDAukNmfpNki2qlH5Dz64ucm5eiqK6I=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7F679385AC1B
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1744914170; x=1745518970;
h=content-transfer-encoding:in-reply-to:from:content-language
:references:to:subject:user-agent:mime-version:date:message-id
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=eQBJl38VRrU46xlkgJZz5wu5bBldxqeMSPTvnykL0XU=;
b=v3qEPG+lgLyGhDpev98EjVm6xBErYfO2f79wxEBQPLsV4kdS9aMfqVDpCcmdVHmaOa
bno00q2HXxiiV4brpHsdOh5aFQmnDK8b4/8RIpa9+ueKIP/IQAoXO/0+N193saEckjRR
Mb3/msiaR1b5ScBpWJYeVmu9RqB4V4ACcRzHwp50v1TmO8mT+7YZ80IO+/5X+sFbe4B8
TdUSEJuFWbIfFTUQBsmKApIwGQagWRbYDi35kKfTIrCl2HqWM2axQtbqnKSoP8tbC3IU
Fvc0TjL0r6zwAnchmvKqxCbOT+tpC4Jx8Old0rvKUCmBgd2k67ant2Of0inU+0TxJpiC
sdxw==
X-Gm-Message-State: AOJu0YwSHdK1YKN9KJsNw6u/QYevsFRoaCzDS2N3QXCOnpYqjlNUniAe
cGi7yhCd0t5BW3fR0c+QJj/cjrEksN7A5ETZj7PUCphbB/gHRNNQ0FmXcQ==
X-Gm-Gg: ASbGncujoqPRh1uC4XQRyuutW3b35GlpJC+ASypbU7n39cj9L6ppaDYkhq2g8nJDHtV
I02d+uPKmN9r5E7jkIYG88f6NvFY3Jq96cOfKet+4rTSZN1hKXTGQGRzmvrmAypbz0HU6YbJFPv
dcYd3Xt9y8G8aqDJvbmG5qUkSMleuqwH12Cz/UWTKpqLQEC4fbpOTR8g+9QUpm48FklTAb/wDHE
WE/egh8LpWIebGE0SkbpKUkJ3YJYn1BYfE7DGXXsZ/Bm4JtglpLdR7V+EImnLJrtmxsqPmwGbcz
N3MacLI4tTIbErivYYlbZT3vKmqOdF12pUViROB79aZM/scIhJgMjuGsLT4iOyWiDktAUu/Mdg=
=
X-Google-Smtp-Source: AGHT+IHivgFyHCrXyNNRBH+42ZoXH/azEXKJ6N/bpwRzVnJWWwiRmcbkJHT+OIyDxyCFdYu5nxJ99Q==
X-Received: by 2002:a05:6871:1c5:b0:2c2:dfbb:2dbd with SMTP id
586e51a60fabf-2d5231e855amr193816fac.8.1744914170381;
Thu, 17 Apr 2025 11:22:50 -0700 (PDT)
Message-ID: <a1f71255-4c49-4ba2-9ffe-0ca8b4689d83@gmail.com>
Date: Thu, 17 Apr 2025 12:22:49 -0600
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: Perl stopped working
To: Cygwin <cygwin AT cygwin DOT com>
References: <OO3Rx4r--F-9 AT keemail DOT me>
In-Reply-To: <OO3Rx4r--F-9@keemail.me>
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-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
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: =?utf-8?q?Ren=C3=A9_Berber_via_Cygwin?= <cygwin AT cygwin DOT com>
Reply-To: =?UTF-8?Q?Ren=C3=A9_Berber?= <rene DOT berber AT gmail DOT com>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>

On 4/17/2025 9:52 AM, Michael via Cygwin wrote:

> After running cygwin-setup and updating all cygwin-packages, perl no longer seems to work (or maybe a coincidence).
> 
> Executing "perl" without any argument normally let perl wait for input from stdin/keyboard.
> But it immediately returns to the prompt (same behavior as 'echo ""').
> I can do
> perl
> perl -v
> perl -e 'print "Hello Perl\n"'
> 
> same result for all 3 of them (equal to 'echo ""').
[snip]
That usually means a library is missing.

Try:

$ cygcheck /usr/bin/perl
C:\Cygwin\bin\perl.exe
   C:\Cygwin\bin\cygperl5_40.dll
     C:\Cygwin\bin\cygcrypt-2.dll
       C:\Cygwin\bin\cygwin1.dll
         C:\WINDOWS\system32\KERNEL32.dll
           C:\WINDOWS\system32\ntdll.dll
           C:\WINDOWS\system32\KERNELBASE.dll
     C:\Cygwin\bin\cyggcc_s-seh-1.dll

or 'ldd /usr/bin/perl' and see if any library is marked as not found.

The problem could be a bad PATH, which finds another library of the same 
name first, a deleted/not installed library (find dependencies with
'cygcheck -i --deps perl').
-- 
R.B.

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