hello. i am a perl beginner. i am trying to write a short program to convert ebcdic to normal text. a ebcdic cpan module is already correctly installed on this linux machine( I know because other programs use it). The file /usr/local/lib/perl5/site_perl/5.8.4/i686-linux/Convert/IBM390.pm exists. Is there something extra I have to do to "get" the .so files? here is the error message I get.
Can't load '/usr/local/lib/perl5/site_perl/5.8.4/i686-linux/auto/Convert/IBM390/IBM390.so' for module Convert::IBM390: /usr/local/lib/perl5/site_perl/5.8.4/i686-linux/auto/Convert/IBM390/IBM390.so: undefined symbol: PL_sv_undef at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 229. at ./ebcdic_to_ascii.pl line 10 Compilation failed in require at ./ebcdic_to_ascii.pl line 10. BEGIN failed--compilation aborted at ./ebcdic_to_ascii.pl line 10.
#!/usr/bin/perl -w #require 'mylib.pl'; print "\n\n", "\@INC is :\n"; for (@INC){print "$_\n";}; BEGIN{ unshift @INC, "/usr/local/lib/perl5/site_perl/5.8.4/i686-linux"; unshift @INC, "/usr/local/lib/perl5/site_perl/5.8.4/i686-linux/auto"; } use strict; use Convert::IBM390 qw(); #use Convert::IBM390 qw(:all); #my @in =<>; #print eb2asc(@in);

thanks,
erik

In reply to including .so files by egunnar

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.