This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Problem loading dynamic libraries - file not found
- From: Roberto Ribeiro <robertofig85 at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 15 Jun 2018 19:50:16 -0300
- Subject: Problem loading dynamic libraries - file not found
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