rbutcher has asked for the wisdom of the Perl Monks concerning the following question:

Wise ones, has Mandrake switched from threaded to nonthreaded perl in their distro ? Would this cause problems if I try to run their modules with a threaded perl ?
I run my own perl 5.8.6 multithreaded built from source, on a Mandrake 10 box. In the past when I need one of Mandrake's perl admin .so modules I just downloaded the precompiled module rpm and installed it into /usr/lib/libdrakx. No problems.
Latest versions of all these modules give

Can't load '/usr/lib/libDrakX/auto/Newt/Newt.so' for module Newt: /usr/lib/libDrakX/auto/Newt/Newt.so: undefined symbol: PL_stack_max at /usr/local/lib/perl5/5.8.6/i686-linux-thread-multi/DynaLoader.pm line 230.

If I recompile the mandrake modules they work OK. I noticed that the perl in mandrake's packages now has i386-linux (not -thread-multi). Does this mean they now support only nonthreaded perl ? Or is my problem somewhere else ?
thanks

  • Comment on linux-thread-multi incompatible with nonthreaded modules ?

Replies are listed 'Best First'.
Re: linux-thread-multi incompatible with nonthreaded modules ?
by PodMaster (Abbot) on Feb 14, 2005 at 10:08 UTC
    Wise ones, has Mandrake switched from threaded to nonthreaded perl in their distro ?
    Apparently so (execute perl -V:useithreads to see if its threaded or not).
    Would this cause problems if I try to run their modules with a threaded perl ?
    Absolutely. You're already experienced it, and it's called binary incompatibility. The two perls aren't binary compatible. Just like a perl compiled for windows is not binary compatible with a perl compiled for mandrake, modules compiled for one perl aren't compatible with the other.
    Does this mean they now support only nonthreaded perl ?
    That's what it looks like.

    MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
    I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
    ** The third rule of perl club is a statement of fact: pod is sexy.