PDL XS module linking problem

Achim Gratz Stromeko@NexGo.DE
Sat Apr 6 23:20:00 GMT 2013


While trying to update PDL I've noticed a strange problem: some GSL XS
modules/DLL reference themselves and those modules that do cannot be
loaded anymore.  This does also affect my installed earlier version of
PDL which has worked before (I've kept the test logs), also when I
freshly compile this version.  Unfortunately, a lot of things have
been updated between the last time this was known to work and
now... does anybody have an idea what to look for or how to resolve
this?

---------8<---------
(1156)# ldd /usr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int\
/auto/PDL/GSL/RNG/RNG.dll
        ntdll.dll => /cygdrive/c/Windows/SYSTEM32/ntdll.dll (0x77880000)
        kernel32.dll => /cygdrive/c/Windows/system32/kernel32.dll (0x777a0000)
        KERNELBASE.dll => /cygdrive/c/Windows/system32/KERNELBASE.dll
(0x75b40000)
        ??? => ??? (0x6e600000) <== this is the base address of RNG.dll
        ??? => ??? (0x5c830000) <== stack protector library
        ??? => ??? (0x61000000) <== not from Cygwin
        ??? => ??? (0x636d0000) <== GSL library
(1157)# objdump -h /usr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int\
/auto/PDL/GSL/RNG/RNG.dll

/usr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int\
/auto/PDL/GSL/RNG/RNG.dll:
    file format pei-i386

Sections:
Idx Name          Size      VMA       LMA       File off  Algn
  0 .text         00083278  6e601000  6e601000  00000400  2**4
                  CONTENTS, ALLOC, LOAD, READONLY, CODE, DATA
  1 .data         000091f0  6e685000  6e685000  00083800  2**5
                  CONTENTS, ALLOC, LOAD, DATA
  2 .rdata        00000234  6e68f000  6e68f000  0008ca00  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  3 .eh_frame     00000004  6e690000  6e690000  0008ce00  2**2
                  CONTENTS, ALLOC, LOAD, DATA
  4 .bss          000002d8  6e691000  6e691000  00000000  2**5
                  ALLOC
  5 .edata        00003f8a  6e692000  6e692000  0008d000  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  6 .idata        00001204  6e696000  6e696000  00091000  2**2
                  CONTENTS, ALLOC, LOAD, DATA
  7 .reloc        000047dc  6e698000  6e698000  00092400  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  8 .gnu_debuglink 00000010  6e69d000  6e69d000  00096c00  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
(1158)# perl -MPDL::GSL::RNG
Can't load '/usr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int\
/auto/PDL/GSL/RNG/RNG.dll'
for module PDL::GSL::RNG: No such file or directory at
/usr/lib/perl5/5.14/i686-cygwin-threads-64int/DynaLoader.pm line 190.
 at - line 0.
Compilation failed in require.
BEGIN failed--compilation aborted.
--------->8---------



Regards,
Achim



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list