X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:from:date:message-id:subject:to :content-type; q=dns; s=default; b=FYPE4T4gdO826b7P5mRGKRkOa1Y6Z T5Lsu2ZsAzd6oOvu6wDI4zzLBrJtXG4x77Uxc4QsR0RYoTsyNeP9qt6OnfgFhNWl 9yoRZUx0L4yprALg8sc1thaN8wxmPdcZVUF8VDBq7yLgaaGaCzI+6c7fSv2MNa6u 1iBF8OcfstvGWY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:from:date:message-id:subject:to :content-type; s=default; bh=dD14LEcU8DwE2BUFUXHzd5lC8o0=; b=loI z8FPmB3zCq+xIZwjEQ4rP5ah/XtAV9JW6PD/jCwecEesIDHuzVAzwZ2Z83TnHkdJ 3e9/BLElX7ej8IGR1KMf8Ksu2mtk6Ho5fQo4sNSUftgduTGMHwvf5ZTn4nX/49PL /Haehi2OpeRNYXwzUP7PckHPo/BN8KmFVhgGgggQ= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=H*c:alternative X-HELO: mail-lf0-f49.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=sUeD7oV/LGh0SgGLABjuKEn12om1fOjoiFXpEOf1QMk=; b=dGOUMtFFq1HNirKhkhQvniO1z60M15poypYG1OwG49x3ImIJbNdwCC3eshzL0koE4G O+ZXZ7h3+fnGPZlp9AS04m47ntk/R5iN8RO0cBhk5Qn1I5xhwg+bHva5KWf27vfXm9xo fRaqrwfT1P3UtC5eoGKLdR83AuZFdjFtrTNMyewB6CaDkNE8V4/eMQzkoAWNK8W2CcZn 5xAKuuH9+HknqK5uKr9ldOFcVmbo5OLwIyTMyqLe5rE0YelDbrq1cWvu+AMEOeJ1KUX5 uRrmR4KWTYgOxp5pnoskzyCiuQ8k1QzLETBhZMuOW0Y7vE6iKzzX9EhoKIywTOgRQhfW vovA== X-Gm-Message-State: APt69E2rQ+V8LejLcdlfmLclcQtPULr4qCvkkT6u0xxoNri6hT1rE2aF HtKjQFi2OCfRhrWhILkd3hLyT0xAqPCdV7cqizyZfw== X-Google-Smtp-Source: ADUXVKLVOleTS69iw6BdXzsyKf25v1I1J5WJcZVs4H0NC4kgEkYtiwt/6/EltiurXD9mzzHn8smGAx5Mf0nYNEDYAb4= X-Received: by 2002:a2e:44c6:: with SMTP id b67-v6mr2445970ljf.120.1529103017339; Fri, 15 Jun 2018 15:50:17 -0700 (PDT) MIME-Version: 1.0 From: Roberto Ribeiro Date: Fri, 15 Jun 2018 19:50:16 -0300 Message-ID: Subject: Problem loading dynamic libraries - file not found To: cygwin AT cygwin DOT com Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes Hello list, recently I've been running a lot into an error while trying to load dlls compiled by cygwin: "ERROR: could not load library (...): No such file or directory". The library in question is always there, however, and *appears* to have been correctly built (ldd and cygcheck both return the expected values). Last time this happened, I found what could have been a linking problem in one of its dependencies, and just recompiled everything and now it works. But now I'm running on this problem again, in a library I wrote myself, which only links to dependencies I know are working, and everything that could possibly be called is in the PATH. So, my question is: what exactly does this "no such file or directory" error mean, and is there a way for me to debug it, or maybe get more comprehensive error messages? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple