X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CEF1B3857B92 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1704549976; bh=/wgIjKXKJ+pX/yWohQrBxhp1KB8Rx8Xs0XH2ZcRS3i8=; h=Date:To:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=wNuLdTTyHBu20rTHogtR1hf7lCDMsmjchro8VlF7Fvav87k43E4PWAzcl/q2b4e6N kak3yZ/mOPEahawVGlHMRCxB3HWipaKAg0g5DOfTn2HUn9R1YLqUr99skSY2TUDY/S OP22GKXqQCRO4cscwozH8CtoBAJSvbxamMxfyuKU= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 734453858D20 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 734453858D20 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704549926; cv=none; b=XyNBuGblFQy2hJaIyGSF+dI6Kfov3IEm7Sk7iNQIXi++5p/LObmCefveta1A6xjkdFQhEtKUpbr5SPV+4eh7YEMbaiCqamGt1zPmjBg7q80nNjT8AN7L2gw1qjKxU4NI/y7k9wPi4ruvDjrKZQVwH00SFb1V7oha3uOVE9jbbBA= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704549926; c=relaxed/simple; bh=V+0k0SafXZkc2r8nbLJvcVhT2/St2ihuxuScrbcqz+M=; h=DKIM-Signature:Date:From:To:Message-ID:Subject:MIME-Version; b=xdS89B2vS/CpKEgXdxfmN8M9Qqf3UeGuDA7gsAWAhxulLvSQ45OvXD4wlJ0HUoAMaVaeCVFs7g/BUdxDlYDy+z67WXoWyc1ynHho6GVUcFGL/r1rzLq5NrxDyeNOCXR+oOTsoSv7bToMU3rySuYBZZ5aOaVnY+Pp/SQE8V0zfLo= ARC-Authentication-Results: i=1; server2.sourceware.org X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1704549923; bh=4JdkbNUXXehKpxULVBXlE6vW4W+m16PxkL3XxPkNPxs=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=RFu3ryrhAMnLVy323iojI31y2mR4Y9XtqpdlyqtrkD6fVFltvaE3HfQNNfFDV6iUzbywA40NAxbz6Sw1U1ywzsUj3vDY2yJnc29wQ+irDiXaqyINChAe4Y+fe6kd2B1WzK3bxw0Xa9qm9BMg+S41c+UJNEtd3EyjCoSZEN1h3C83R8anirc+uy0L23w0fh87sj31nOOSqfLTPh0EjjO2VDJrR1vWOR8iEPYpk8joYVTGw0ZjbOz7oGc0/fLB903LRqAen7yTplr3MuiRZrLxe1JwnOveROrt1r1QmdM7up0fASljIJ/B42sljI/15eMhQvh+IAZFmeOn8vv+NjtR6g== X-YMail-OSG: wEE7D0cVM1kHm720iRKenXiWsbTOl5Nt0_BkLT6lHgD3PVbq.faA0N6ku77Ou_0 ib7b.7quwKWqzbxuWZexLvs6V2VlsrYkRdgXN7b.xNSLtjR6Sf0berlEmvs18Cd1MRpbMLmnXHq2 vGxXXWBJncGSzfk_1riFCztik4TxP.FAdEvAy2XRyuvCtkNlj37fte5s7EcxTkM0O6_hCBSbsgtg ZY4ttqJmVET51LDD2nS5ZLHqnoni0OhkIw98bqZt_YH0iKK9nM1c5qLNpP_Ohi2S7MmS3X_fGYS4 8gUkdZB9fm8TwQBkIcXScqxQAXwY2TMPSYnYSu687yTs6ycv24yfwg7LdfNAx376x3rKTTlp.oOQ GwVRLnqWFickFzzU7U3jqMiSI73lDMxCICmLS53gftWeYjWF6aZmv3aVuJNJwC_r7D.dAR.gQCUA PZxfT57tDMydcIUgcPGMRAZ8rGF23PX3m_Fx280S5rczpC5S4AyTaNPX.xpEn2bJZC4DqqjNh6xN OObBroPeg61587fGFTbadm8jdG7MW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zd1aDbBH39VDI7JNKVjo7Gk3StN vOccUoHPHqkVMAiv..0YMoBl.YpYD1lFsL16rH49eojJo_jCcASvLtsaihQa5qHS3aARyesYmtfK PceDgPGFDA49WVn2kxfsV8pXmujElczOZux5G7G0o_4SZMSD5V4.KhqTtCBKSjERUBTg6b9r30aI UB94Cgy87T4S6LQ1w3qUQBDI4HspesAvhDDphB29wleL61c3Fn8HJ3LoEhL_3eo4Bww8_rkC3mli _qMMLxe5n_cyMhWzeilr69nC2Y_frX_97nO9t9.d5AZYy0sdWBDisL4smSIQXfBix_5UQ12o6po2 87HgRKis6OAp.KFy1ifnbd6tBATKbZUTMBnroPNFdD.6G6jfCxLGm63QoS304ziD93NhGoFoCeR3 6FDcvydCPsNJX54wzuNYvgauSNPhEoQxjc6rskSVEe4DnkfEASTc35jb19d95zMT0mtdKrFSZpHh 3v_4wKXsWdwx.LcnI8EOKHAoxkTCu47GC7Y.K9MhJsTg7R5P5Lw2mY.T21ivg3BRYwlXF0gEvFCy lDgFgl0gnPf_zaf6g84N5RLr5ixb8bB.Ws00872lTUEhBnSJxTbwmAQxWM5BPajyQZj94.FIYG6b 9sn4xEHPMQtXnJr8nLkxK1Y8Jan4Wga_dLp0DlyvRGDPGiHHwFQZpf9dWKcyTYTo- X-Sonic-MF: X-Sonic-ID: 4e105f78-453b-4554-97a3-bd3d525f5548 Date: Sat, 6 Jan 2024 14:05:18 +0000 (UTC) To: The Cygwin Mailing List , marco atzeri Message-ID: <1086814159.5154832.1704549918706@mail.yahoo.com> In-Reply-To: References: <170450325402 DOT 8 DOT 7016669793649380001 DOT 243613349 AT aleeas DOT com> Subject: Re: libguile package | dlopen: no such file: guile-readline.dll MIME-Version: 1.0 X-Mailer: WebService/1.1.21952 YMailNorrin X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Mike Gran via Cygwin Reply-To: Mike Gran Content-Type: text/plain; charset="utf-8" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 406E6Iwf006773 >On Saturday, January 6, 2024 at 01:45:09 AM PST, marco atzeri via Cygwin wrote: >On Sat, 6 Jan 2024, 10:28 Brian Inglis via Cygwin,  wrote: >> On 2024-01-05 18:07, asebian via Cygwin wrote: >> > package: liguile3.0_1 >> > version: 3.0.9-2 >> > >> > ================ >> > Problem >> > >> > Loading the ice-9/readline module coming with libguile raises an error: >> > >> > $ guile -q >> > scheme@(guile-user)> (use-modules (ice-9 readline)) >> > While compiling expression: >> > In procedure dlopen: file "guile-readline.dll", message "No such file >> > or directory" > > >> > Seems as if version number 0 got attached: >> > >> > $ ls -1 /usr/lib/guile/3.0/extensions/ >> > guile-readline.la >> > guile-readline-0.dll >> > >> > C:\cygwin64\lib\guile\3.0\exte >> > nsions> dir /B >> > guile-readline-0.dll >> > guile-readline.la >> > >> > ================ >> > Makeshift fix >> > >> > Create symlink (as Admin): >> > >> > C:\cygwin64\lib\guile\3.0\extensions> mklink guile-readline.dll >> > guile-readline-0.dll >> > symbolic link created for guile-readline.dll <<===>> guile-readline-0.dll >> > >> > $ guile -q >> > scheme@(guile-user)> (use-modules (ice-9 readline)) >> > scheme@(guile-user)> (activate-readline) >> >> As these appear to be generated during package config or build, this >> should be >> handled during package config, build, install, or postinstall, perhaps >> using >> alternatives. >> >Alternatives today can not be used as does not handle dll's only exe and >script >Mklink could be a possible general approch in alternatives for handling >dll. >With some file system limitation > will look on the guile issue next week This is a known regression in Guile itself. Bug #64723. Guile used to use libltdl to do dynamic linking, and libltdl would search for dlls that had major version numbers attached, such as 'guile-readline0.dll' Guile replaced libltdl with internal code, which no longer handles dlls with major version numbers attached.  A patch was proposed but has not made it into the main tree to restore major version number handling in Dlls. I keep my own version of the patch in my fork: here. github.com/spk121/guile/commit/ddcdfe0db957a8231deb8e8ee70a7aec6307acd9 Another workaround  would be to add the "-avoid-version" flag to LDFLAGS for guile-readline  -- 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