From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 80454 invoked by alias); 15 Jun 2018 22:50:21 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 80445 invoked by uid 89); 15 Jun 2018 22:50:21 -0000 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 Received: from mail-lf0-f49.google.com (HELO mail-lf0-f49.google.com) (209.85.215.49) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 15 Jun 2018 22:50:19 +0000 Received: by mail-lf0-f49.google.com with SMTP id t2-v6so10379160lfd.6 for ; Fri, 15 Jun 2018 15:50:19 -0700 (PDT) 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 Received: by 2002:a2e:9a4b:0:0:0:0:0 with HTTP; Fri, 15 Jun 2018 15:50:16 -0700 (PDT) From: Roberto Ribeiro Date: Sat, 16 Jun 2018 02:05:00 -0000 Message-ID: Subject: Problem loading dynamic libraries - file not found To: cygwin@cygwin.com Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2018-06/txt/msg00182.txt.bz2 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