in reply to including .so files

The error looks like an improper installation, but if it works for other people you may just need some different environment magic. Ask somebody there who has it working for them.

It may be easier than that. Check $ perl -MEncode -e'@list = Encode->encodings("EBCDIC"));print "@list $/"' to see if ebcdic is supported on your platform. It should be.

You should then be able to write this with a PerlIO encoding layer,

binmode $inhandle, ':encoding(EBCDIC)'; while (<$inhandle>) { print $outhandle $_; }
which uses only parts from the perl distribution. Untested, no ebcdic here.

After Compline,
Zaxo