Mail Archives: cygwin/2005/07/21/20:03:15
On Thu, 21 Jul 2005, Linda W wrote:
> I have been putting "/lib" in my windows path (along with "/bin").
To answer the question in the subject: no, /lib isn't needed in $PATH.
> Do I need to specify cygwin's "lib" dir so it will load the "DLL's", or
> do the cygwin binaries internally "know" (add?) lib to the path to search.
For precisely this reason, Cygwin's DLLs that are loaded via the Windows
dynamic loading mechanisms are in /bin. There shouldn't be any "linked"
DLLs in /lib.
> I.e. I want to be able to call some cygwin based utils (like bash) from
> Windows. Normally with windows programs, directories containing DLL's
> that are needed by Window's Programs need to have the DLL dir in the
> path (unless it is in same dir as the EXE). Is this also true for
> cygwin EXE's or does cygwin handle apart from (in spite of) the normal
> rules for locating DLL's?
>
> If this is in the FAQ, I've forgotten it...
If a program places its DLL under /lib, it should modify the environment
appropriately so that the Windows loader finds it, or use the Cygwin
loading mechanisms (i.e., dlopen()).
Which DLLs in /lib cause problems for you if /lib isn't in the $PATH?
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -