delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/04/18/03:34:20

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 53I7YJcj3095310
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 53I7YJcj3095310
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=DnEM2rng
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8C55C3857013
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1744961657;
bh=SKeicjget6jPbiRwyvCgmcsR2ANnRuzSzIB32rtGLaI=;
h=Date:To:Cc:In-Reply-To:References:Subject:List-Id:
List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:
From:Reply-To:From;
b=DnEM2rngACVJpge3vzSHRLnoC5vHf7CXgEb3R0yVfw9CDb3TcpYU+MCnwr1ZJS0YE
sH1bAUyF3pGver40mKkXga2mg4I5vn0Fri70LiinoP29BCec8fQV5GRsIecw+Ngejm
XfWcYum483fUIMlkJUdQBDZO9NuzyMRtgewvcgA0=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8DEF43858D26
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 8DEF43858D26
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1744961626; cv=none;
b=BNJbKcWVfmZ9Q6n7hxQGm1EcQVH2K2p9e8T/iJRO9l9p8vi0AaQDDZbTNpnFVceySeWfAgfrC7V/kQ5Y72XDcjPZyWQHvTceMAVMdtCBZminKd43xwPmVupBL+kq0QyFU5YC3/ELjoaBrlT0ft0fp5nGQUtxdlCeDXdagwpTkHo=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1744961626; c=relaxed/simple;
bh=EpHY0SGIwiMXUXwpW2+4OeNyNy1kblgDUCZC2mnt2BM=;
h=DKIM-Signature:Date:From:To:Message-ID:Subject:MIME-Version;
b=hg+zCLnGdMyHMjpbsbNyH8txF/vwmkDBnu+8XVXKpf1jn7nMcP0tDgfo2OfSnE895EJzHzuxxVeKpb7ThiufSOhZxY5CPr2Z81UMlm1CswP8Z+K37eQswbuM7XTfnEGAbrM9doeDq75Bv/UqOrkA9HVTNJdl85MEWcv4mmOJneQ=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8DEF43858D26
Date: Fri, 18 Apr 2025 09:33:13 +0200 (GMT+02:00)
To: =?UTF-8?Q?Ren=C3=A9_Berber?= <rene DOT berber AT gmail DOT com>
Cc: Cygwin <cygwin AT cygwin DOT com>
Message-ID: <OO6oCyo--F-9@keemail.me>
In-Reply-To: <a1f71255-4c49-4ba2-9ffe-0ca8b4689d83@gmail.com>
References: <OO3Rx4r--F-9 AT keemail DOT me>
<a1f71255-4c49-4ba2-9ffe-0ca8b4689d83 AT gmail DOT com>
Subject: Perl stopped working
MIME-Version: 1.0
X-Content-Filtered-By: Mailman/MimeDel 2.1.30
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: Michael via Cygwin <cygwin AT cygwin DOT com>
Reply-To: g2a_login AT keemail DOT me
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>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 53I7YJcj3095310

$ cygcheck /usr/bin/perl
and
$ ldd /usr/bin/perl'
did not show any error

but I "reinstalled" all packages listed in 
$ cygcheck -i --deps perl
=> cygwin, libcrypt2, libdb18.1, libgcc1, libgdbm6, libgdbm_compat4, perl5_040, perl_base, zlib0

after the reinstall, perl works again

$ perl -v

This is perl 5, version 40, subversion 2 (v5.40.2) built for x86_64-cygwin-threads-multi
(with 3 registered patches, see perl -V for more detail)

Copyright 1987-2025, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at https://www.perl.org/, the Perl Home Page.

$ echo 'print "Hello Perl\n"' | perl
Hello Perl

thanks a lot!



Apr 17, 2025, 20:25 by cygwin 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
>


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