Igor Pechtchanski writes:

> On Thu, 6 Oct 2005, Jan Nieuwenhuizen wrote:

>> AFAIK, on Cygwin .la files that are used by dlopen need to be in usr/bin.
>
> IIUC, dlopen() uses LD_LIBRARY_PATH, which can contain /usr/lib.  The only
> reason the DLLs are in /usr/bin is to make sure the Windows loader finds
> them.  IOW, I don't think you need the .la files in /usr/bin.

Indeed, I wouldn't think that too.  However

    20:01:55 [EMAIL PROTECTED]:~
    $ guile
    guile> 20:02:00 [EMAIL PROTECTED]:~
    $ mv /bin/libguilereadline-v-12.la /lib/
    20:02:25 [EMAIL PROTECTED]:~
    $ guile
    ERROR: In procedure dynamic-link:
    ERROR: file: "libguilereadline-v-12", message: "dlopen, Win32 error 126"
    [2]20:02:27 [EMAIL PROTECTED]:~
    $ LD_LIBRARY_PATH=/bin guile
    ERROR: In procedure dynamic-link:
    ERROR: file: "libguilereadline-v-12", message: "dlopen, Win32 error 126"
    [2]20:02:42 [EMAIL PROTECTED]:~

Greetings,
Jan.

-- 
Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org

Reply via email to