DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 55B2Hf5w3153003
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 55B2Hf5w3153003
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=gb8gnj5C
X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 041173857C5F
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1749608259;
	bh=/xtuxnQBK5q+4PKS9yzu5xt1t9rJgrb2+Q1B0HbX6/Y=;
	h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:
	 List-Help:List-Subscribe:From:Reply-To:From;
	b=gb8gnj5CnIhj5xVdB9S8bipD3dKNgfA5lwbtKbuovQzTLHlCpml3x+BCXVJjB3tpN
	 xOoP0yuc24QjL39SI1yMTH8vKoQk2NT74DJvHMfsBSm8L9+T5GkNeyLkCj/JtS8jTQ
	 9niOr0UpxjG4NujwXWbIVHr+zoJipwY4FsfalkHY=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 678323858D1E
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 678323858D1E
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1749608191; cv=none;
 b=XdH9/vK3s54LKr35cfm1dNOb1a+a+ahEBxJe5oZi1dwZh3Pdm/nKSiqWrurdozL+FYbyqNpqYtPpBot3lSQofreaMDV/O1+QFMyOYl0Xg75HeAtSCz6DagGb+4HwA1FowD+RnDiCzSLz/c5ALKyUSVFNpGI1eoODD/99T/2aE9c=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
 t=1749608191; c=relaxed/simple;
 bh=b6RCVzYbSxjlgOXNjYUgRGp73qVb9y/X1mQEsbSEjj8=;
 h=DKIM-Signature:Date:To:From:Subject:Message-ID:MIME-Version;
 b=V7LkPygrtgU6nX6e5VrG/p07XRRGfosx9a2hDnq2agU5RREMsqhmMZR8/0soI3xYduQQDYE0KpAtgj7iWt4slSX30h3zDy9wvr1NvhPwO0lv8GOsQQN4S2+TD0ehftemtQd31fr+w7ePXSpfPbka1oRZZPEkMxihQ0f4j4dd+Do=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 678323858D1E
Date: Wed, 11 Jun 2025 02:16:25 +0000
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: libguile3.0_1-3.0.9-3: possible bug with packaged readline library:
 guile-readline.dll not found
Message-ID: <i1Y224JBQgbJ-FQp2zsww3TcDor6WKWmbesU-rBI8JLqKF3UY3SlIRw3Uq4aN6PRqEsDeJKnsUzji2k8WLnAx74k0zrglF4zXDgd6VRgjgI=@proton.me>
Feedback-ID: 48611726:user:proton
X-Pm-Message-ID: e8679639c433912f28d3926a249c451de4a30089
MIME-Version: 1.0
X-BeenThere: cygwin@cygwin.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@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Ira Peach via Cygwin <cygwin@cygwin.com>
Reply-To: Ira Peach <yoshi_says_acab@proton.me>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie.com@cygwin.com>

Hello,

I found a possible bug with the readline library included in
libguile3.0_1-3.0.9-3 and using it with guile3.0-3.0.9-3.

After invoking guile, I tried to load the readline library, and received
an error that guile-readline.dll is not found:

    $ guile
    GNU Guile 3.0.10
    Copyright (C) 1995-2024 Free Software Foundation, Inc.

    Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
    This program is free software, and you are welcome to redistribute it
    under certain conditions; type `,show c' for details.

    Enter `,help' for help.
    scheme@(guile-user)> (use-modules (ice-9 readline))
    While compiling expression:
    In procedure dlopen: file "guile-readline.dll", message "No such file or directory"

However, I found a guile-readline-0.dll, and linked it to
guile-readline.dll as a sibling, and the readline library successfully
loads and activates (and seems to work so far):

    $ find /usr/ -iname '*guile*readline*'
    /usr/lib/guile/3.0/extensions/guile-readline-0.dll
    /usr/lib/guile/3.0/extensions/guile-readline.la

    $ ln -s /usr/lib/guile/3.0/extensions/guile-readline-0.dll /usr/lib/guile/3.0/extensions/guile-readline.dll

    $ guile
    GNU Guile 3.0.10
    Copyright (C) 1995-2024 Free Software Foundation, Inc.

    Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
    This program is free software, and you are welcome to redistribute it
    under certain conditions; type `,show c' for details.

    Enter `,help' for help.
    scheme@(guile-user)> (use-modules (ice-9 readline))
    scheme@(guile-user)> (activate-readline)

I am not sure if there is a command I missed to link libraries like this
automatically, or if this is a bug.

I didn't find guile-readline.dll in any packages, so I don't believe
this is a package missing:
https://cygwin.com/cgi-bin2/package-grep.cgi?grep=guile-readline.dll

Thoughts?

Thank you!
--Ira Peach

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