-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
I cloned the master. It has some glitches so I changed the variable names etc. to make it run.
However I got this error.
Can't load '/usr/lib/perl/5.10/auto/PerlIO/scalar/scalar.so' for module PerlIO::scalar: /usr/lib/perl/5.10/auto/PerlIO/scalar/scalar.so: undefined symbol: PL_no_modify at /usr/lib/perl/5.10/XSLoader.pm line 70.
I think it is caused by override_stdhandle and restore_stdhandle. Somehow, the .so file doesn't load.
As long as I comment out
this->override_stdhandle(my_perl, outsv, "STDOUT");
this->override_stdhandle(my_perl, errsv, "STDERR");
and
this->restore_stdhandle(my_perl, "STDOUT");
this->restore_stdhandle(my_perl, "STDERR");
The binding can run.
Is there any way to solve this or any workaround?
Thanks.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels