updated: guile-1.6.7-2, guile-1.7.2-2

Christopher Faylor cgf-no-personal-reply-please@cygwin.com
Thu Oct 6 18:15:00 GMT 2005


On Thu, Oct 06, 2005 at 08:06:17PM +0200, Jan Nieuwenhuizen wrote:
>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 root@Abbicci:~
>    $ guile
>    guile> 20:02:00 root@Abbicci:~
>    $ mv /bin/libguilereadline-v-12.la /lib/
>    20:02:25 root@Abbicci:~
>    $ guile
>    ERROR: In procedure dynamic-link:
>    ERROR: file: "libguilereadline-v-12", message: "dlopen, Win32 error 126"
>    [2]20:02:27 root@Abbicci:~
>    $ LD_LIBRARY_PATH=/bin guile
>    ERROR: In procedure dynamic-link:
>    ERROR: file: "libguilereadline-v-12", message: "dlopen, Win32 error 126"
>    [2]20:02:42 root@Abbicci:~

Either you're using an older version of cygwin or that's not a cygwin
error.  It looks like something is calling LoadLibrary directly rather
than using the cygwin dlopen().  Cygwin was changed in 1.5.18 to use
strerror style output in the result of dlerror.

cgf



More information about the Cygwin-apps mailing list