christine has asked for the wisdom of the Perl Monks concerning the following question:

Hello,
I just installed Expect under perl 5.8.0 under a non-standard directory, say x. I have installed IO-Tty
with prefix=x, IO-Stty with prefix=x, then I manually add use lib 'x/directory_for_IO-Tty' in Makefile.PL and
test.pl of Expect, then I install Expect with prefix=x.
It seems all OK if I am using Expect in the perl driver file (the file start with #!/usr/bin/perl )itself
except for that the process is going forever without doing anything real. (to tell the truth, I don't know what
is going on there). I say this because I don't see a time comsuming process supposed to be generated by my programm when I top the server. But it is OK with perl 5.6.1.
Even though, if I use Expect in a utility package, it gives me errors like:

/usr/bin/perl5.8.0: error while loading shared libraries: /people0/ginger/perlCPAN/perl-5.8.0/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/IO/Tty/Tty.so: undefined symbol: Perl_Gthr_key_ptr

Is it the way I install it? What file structure should I use to have it installed? Thank you for answers.
ginger
  • Comment on CPAN IPC package Expect problem under perl5.8.0

Replies are listed 'Best First'.
Re: CPAN IPC package Expect problem under perl5.8.0
by Roger (Parson) on Oct 23, 2003 at 05:02 UTC
    Sounds like a version mismatch to me, did you check your LD_LIBRARY_PATH?

A reply falls below the community's threshold of quality. You may see it by logging in.