No solution off the top of my head, but I did notice that if you 'use PDL::Lite' it works correctly, whereas 'use PDL::LiteF' produces your error. Also, I noticed that if you take of the "or die ..." part it works fine, even with 'use PDL;'. I know that's not good practice, but maybe it will give someone else an idea about what's going on.

Derek

Erasmus Oblar wrote:

I've run into an odd problem that seems to involve PDL, I was hoping someone on the list could give me a hand.

this script:

#!/usr/bin/perl -w
my $cmd ="echo hello";
exec $cmd or die "Could not exec (" . $? . ", " . $! . ")\n";

works as expected (prints hello), but if I insert:
use PDL;
after the first line, I get the following error:
Could not exec (0, Illegal seek)


This happens on both x86_64 and i386, and with PDL version 2.4.3 and 2.3.4, perl 5.8.
Any thoughts as to what might cause this?
Thanks,
eo


------------------------------------------------------------------------

_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl


_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to