This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]