This is the mail archive of the cygwin-apps 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: updated: guile-1.6.7-2, guile-1.7.2-2


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


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