rider754 has asked for the wisdom of the Perl Monks concerning the following question:
When I try to run a script that uses Net::SFTP::Foreign, it generates an error. Can someone explain what the error means and/or what is a possible solution? Thanks.
password authentication not available, IO::Pty is not installed or fai +led to load: Can't locate loadable object for module IO::Tty in @INC +(@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread- +multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/li +b64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/ +vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x +86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/lib64/perl5/ +site_perl/5.8.8/x86_64-linux-thread-multi/IO/Tty.pm line 30 Compilation failed in require at /usr/lib64/perl5/site_perl/5.8.8/x86_ +64-linux-thread-multi/IO/Pty.pm line 7. BEGIN failed--compilation aborted at /usr/lib64/perl5/site_perl/5.8.8/ +x86_64-linux-thread-multi/IO/Pty.pm line 7. Compilation failed in require at /usr/lib/perl5/site_perl/5.8.8/Net/SF +TP/Foreign/Backend/Unix.pm line 240. at test.pl line 9
However, the module is listed as installed in CPAN. And the permissions on it is -rwxr-xr-x root root. I am running the script as myself, a non-root user.
Module id = IO::Tty DESCRIPTION provide an interface to TTYs and PTYs CPAN_USERID RGIERSIG (Roland Giersig <RGiersig@cpan.org>) CPAN_VERSION 1.10 CPAN_FILE T/TO/TODDR/IO-Tty-1.10.tar.gz DSLI_STATUS RdcO (released,developer,C,object-oriented) MANPAGE IO::Tty - Low-level allocate a pseudo-Tty, import con +stants. INST_FILE /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread- +multi/IO/Tty.pm INST_VERSION 1.10 Module id = IO::Pty CPAN_USERID TODDR (Todd Rinaldo <toddr@cpan.org>) CPAN_VERSION 1.10 CPAN_FILE T/TO/TODDR/IO-Tty-1.10.tar.gz MANPAGE IO::Pty - Pseudo TTY object class INST_FILE /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread- +multi/IO/Pty.pm INST_VERSION 1.10 Module id = Net::SFTP::Foreign CPAN_USERID SALVA (Salvador Fandino Garcia <salva@cpan.org>) CPAN_VERSION 1.73 CPAN_FILE S/SA/SALVA/Net-SFTP-Foreign-1.73.tar.gz MANPAGE Net::SFTP::Foreign - SSH File Transfer Protocol clien +t INST_FILE /usr/lib/perl5/site_perl/5.8.8/Net/SFTP/Foreign.pm INST_VERSION 1.73
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Can't locate loadable object for module IO::Tty
by runrig (Abbot) on Jul 16, 2013 at 20:30 UTC | |
by rider754 (Novice) on Jul 16, 2013 at 20:43 UTC | |
|
Re: Can't locate loadable object for module IO::Tty
by Perlbotics (Archbishop) on Jul 16, 2013 at 20:30 UTC | |
by rider754 (Novice) on Jul 16, 2013 at 20:52 UTC |