libtool dlopen [WAS: Guile and Readline won't play together]

Charles Wilson cwilson@ece.gatech.edu
Mon Jul 15 23:34:00 GMT 2002



Jan Nieuwenhuizen wrote:


>>Then, go back to (dynamic-link "libguilereadline") -- but add
>>"/usr/lib" to your PATH.
>>
> 
> Yes, bingo.
> 
> So, what should we do now?


Okay, so on cygwin libltdl is using the PATH to search for the libtool 
library.   A-ha!  That's because the primary search path is:

/* Define to the name of the environment variable that determines the
    dynamic library search path. */
#define LTDL_SHLIBPATH_VAR "PATH"

That's so it can find dlls.  fine and dandy -- only it isn't, apparently.

/* Define to the system default library search path. */
#define LTDL_SYSSEARCHPATH "/lib/usr/lib"

But this is the real problem.  This should be "/lib:/usr/lib".  Somehow 

the ':' went missing.  I'll track it down.


--Chuck


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list