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 Cheers ... Duncan. -- 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