delorie.com/archives/browse.cgi | search |
DMARC-Filter: | OpenDMARC Filter v1.4.2 delorie.com 52V8RvYf1645084 |
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 52V8RvYf1645084 |
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=xu4nZeXB | |
X-Recipient: | archive-cygwin AT delorie DOT com |
DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org 7A6223857354 |
DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; |
s=default; t=1743409676; | |
bh=sdRKORlutSRNeiE75SLGa3NrBCRicKu5sr3Hrg49Ms4=; | |
h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe: | |
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: | |
From; | |
b=xu4nZeXBOYpOhxcAo3joy3KTDGz3GDvDRNuUQzn1ln+b9wizqwIY9kIw1Mdlvqkpn | |
nL+J/f6eXC+V3v1O+VAY4jOxd7pYFaF1XEVjK1Xzgf/lzOlJrbAn7pWfhyAVILtOF2 | |
N6VI7PuWJ82CZg/2d5e7UmjZDuIdO/Rte/fQeq+8= | |
X-Original-To: | cygwin AT cygwin DOT com |
Delivered-To: | cygwin AT cygwin DOT com |
DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org E14873857BBA |
Date: | Mon, 31 Mar 2025 10:26:51 +0200 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: dlclose reports ENOENT with simple code |
Message-ID: | <Z-pRy8HwJhMhpMr4@calimero.vinschen.de> |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <TYTPR01MB1092365AF9118650ABDFFF781F8A22 AT TYTPR01MB10923 DOT jpnprd01 DOT prod DOT outlook DOT com> |
<Z+ng8y5XkIAgtyJu AT slk15 DOT local DOT net> | |
MIME-Version: | 1.0 |
In-Reply-To: | <Z+ng8y5XkIAgtyJu@slk15.local.net> |
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: | Corinna Vinschen via Cygwin <cygwin AT cygwin DOT com> |
Reply-To: | cygwin AT cygwin DOT com |
Cc: | Corinna Vinschen <corinna-cygwin AT cygwin 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> |
X-MIME-Autoconverted: | from base64 to 8bit by delorie.com id 52V8RvYf1645084 |
On Mar 31 11:25, Duncan Roe via Cygwin wrote: > On Sun, Mar 30, 2025 at 05:32:44PM +0800, cygwin wrote: > > Code to reproduce: > > > > > > #include <dlfcn.h> > > #include <assert.h> > > #include <stdio.h> > > #include <stdlib.h> > > > > int main() { > > Â Â Â void* handle = dlopen("/usr/bin/cygwin1.dll", RTLD_LAZY | RTLD_LOCAL); > > Â Â Â if (!handle) > > Â Â Â { > > Â Â Â Â Â Â Â printf("dlopen: %s\n", dlerror()); > > Â Â Â Â Â Â Â exit(1); > > Â Â Â } > > Â Â Â int res = dlclose(handle); > > Â Â Â if (res != 0) > > Â Â Â { > > Â Â Â Â Â Â Â printf("dlclose: %s\n", dlerror()); > > Â Â Â Â Â Â Â exit(1); > > Â Â Â } > > } > > > > > > The program should succeed, but now it fails with "dlclose: No such file or > > directory". > > > > > > -- > > 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 > > Reproduces here. uname -r reports 3.6.0-1.x86_64 https://sourceware.org/pipermail/cygwin-patches/2025q1/013584.html Corinna -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |