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

Dear All,

I am getting the following error while running the downloaded FreeSWITCH script

 /usr/bin/perl5.10.0: symbol lookup error: /usr/local/lib/perl/5.8.8//auto/Params/Util/Util.so: undefined symbol: Perl_Tstack_sp_ptr

Any Idea to solve this issue??

Replies are listed 'Best First'.
Re: Symbol lookup error
by ikegami (Patriarch) on Apr 05, 2010 at 08:46 UTC
    Major Perl versions (5.6, 5.8, 5.10, 5.12) aren't binary compatible with each other. You can't use a module with a compiled component if you're using a different major version of Perl than the one that was used to install the module. (I think you can also have problems if you use an earlier minor version of Perl than the one with which the module was installed.)
Re: Symbol lookup error
by Anonymous Monk on Apr 05, 2010 at 07:18 UTC
    Dont mix incompatible perl versions (install Params::Util for perl5.10.0).

      Figuring out exactly which versions are binary-compatible is not easy - even within a major version, eg 5.8.x, there are incompatibilities. In particular with 5.8, I believe that there are incompatibilities both upwards and downwards between 5.8.0/5.8.1/5.8.2.

      So a good rule of thumb is to simply not mix versions of perl at all.