[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Perl threading on potato



On Tue, Nov 06, 2001 at 11:02:37AM -0500, Timothy Burt wrote:
> On Tue, Nov 06, 2001 at 03:28:36PM +0100, larstiq@larstiq.dyndns.org wrote:
> I'm using debian unstable, which means perl 5.6.1, so my system is a bit

The machine in question is relied upon by several people for a living,
so I'd rather keep it (moderately) stable.

Has anyone got experience with perl-5.6 on potato ? perl from sid
has a dependancy on libc6 (>= 2.2.3-1), I don't know perl well enough
to judge if this is real, or just a packaging issue (ie, would repackaging
myself work ?).
Anyway

> different.  But one thing suggests itself to me: have you tried pushing the 
> non-threaded module directory onto the include path list?  You can alter @INC
> directly or (maybe preferably) add the line
> 
> use lib qw(/usr/lib/perl5/5.005/i386-linux);

Ah, this is _very_ nice to know :) But:

DBI.pm: [Tue Nov  6 17:17:15 2001] DBI.pm:
Can't load '/usr/lib/perl5/5.005/i386-linux/auto/DBI/DBI.so' for module DBI:
/usr/lib/perl5/5.005/i386-linux/auto/DBI/DBI.so: undefined symbol: PL_stack_max
at /usr/lib/perl5/5.005/i386-linux/DynaLoader.pm line 169.

Symbol mismatch :(

Also happens the other way around, (/usr/bin/perl and qw(i386-linux-thread);
So it doesn't seem to work with standard issue debs.

> Following this with "use DBI;" should work.  This doesn't mean that
> the DBI module should work with threaded perl necessarily!  A
> quick google search on perl-thread + dbi comes up with some possible
> leads.

Right, I'm googling for it right now, querying my boss where he got 
the idea in the first place, etc.

> HTH,
> Tim

Thanks,
Wouter



Reply to: