[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dynamic-link and LD_LIBRARY_PATH
From: |
Carl R. Witty |
Subject: |
Re: dynamic-link and LD_LIBRARY_PATH |
Date: |
18 Dec 2001 15:57:15 -0800 |
Bill Gribble <address@hidden> writes:
> I'm sure rlb will pipe up on this, since we have been dealing with this
> type of problem lots lately :( My impression (which may be wrong) is
> that you're probably not having the problem you think you're having.
>
> The "File not found" error does NOT necessarily mean that the file was
> not found. What it means is that lt_dlopen was not able to find a file
> that it could successfully open. This means either that there's no
> library named whatever you specified, OR all libraries with matching
> names could not be dlopen'ed. Libraries may be un-dlopenable if they
> have unresolved external symbols.
That seems like a particularly poor situation. At the very least, the
error message should be changed to something like "File not found or
library not loadable"; preferably, the error message could say either
"File not found" or "library not loadable (undefined symbol Foo)".
Carl Witty