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

I'm testing out a new Linux build and had the Support team install Sybase Open Client for me, which includes Sybase::CTlib. The box has Perl 5.10.1 installed but I'm getting the undefined symbol Perl_Tstack_sp_ptr error message. From the FAQ and https://bugs.archlinux.org/task/9078, I know this error is because the module was compiled with something other than 5.10.1. Recompiling the module would be new for me. So is there a way to determine what Perl version Sybase::CTlib was compiled with?
  • Comment on How can you tell what Perl version was used to compile a module

Replies are listed 'Best First'.
Re: How can you tell what Perl version was used to compile a module (ldd)
by Anonymous Monk on Mar 06, 2015 at 22:07 UTC

    So is there a way to determine what Perl version Sybase::CTlib was compiled with?

    Yes, use ldd command (or equivalent) on the Sybase/CTlib.so file , see ldd -v ...so / ldd -v ..so like this