Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^3: Linker error when installing modules on Perl 5.10.0 with cpan.bat on Windows

by Anonymous Monk
on Feb 07, 2013 at 12:33 UTC ( #1017640=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Linker error when installing modules on Perl 5.10.0 with cpan.bat on Windows
in thread Linker error when installing modules on Perl 5.10.0 with cpan.bat on Windows

Unfortunately I have to stay at version 5.10.0. I would prefer 5.16 also ;-)

:) Saying you can't compile so-and-so module makes a compelling argument for getting an upgrade approved, as does perl5101delta, perl5120delta

Any ideas?

Yeah, give us details to work with, see Re^3: MExtUtuils result in error while trying to install modules.


Comment on Re^3: Linker error when installing modules on Perl 5.10.0 with cpan.bat on Windows
Re^4: Linker error when installing modules on Perl 5.10.0 with cpan.bat on Windows
by tobias_hofer (Friar) on Feb 07, 2013 at 13:29 UTC

    You are right, sorry!
    To make a long story short:
    To install the module manual, I do the following:
    (used perl: strawberry 5.10.0 which comes with mingw environment)

    1# download package from cpan
    2# give: perl Makefile.PL => Looks good
    3# Run the make command: dmake (comes with strawberryperl)

    No matter what module I want to Install (with compilation) I get the same linker error which makes me think of using a later gcc version or check the generated lib paths.

    /mingw/lib/dllcrt2.o:dllcrt1.c:(.text+0xe5):<b> undefined reference to + `__dyn_tls_init_callback'</b> Cwd.o:Cwd.c:(.text+0x103): undefined reference to `croak_xs_usage' collect2: ld returned 1 exit status
    So we got here an unresolved reference to __dyn_tls_init_callback.
    I was googling a bit a found that other people on different projects have this issue too.
    Seems to be a problem with the libs so I got to check if all libs are available to the build-process.
    So I will start analyze the Makefile. :-)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1017640]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2014-08-31 11:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (294 votes), past polls