|There's more than one way to do things|
Problem with embedded perlby cyborg (Initiate)
|on Jul 11, 2013 at 12:40 UTC||Need Help??|
cyborg has asked for the
wisdom of the Perl Monks concerning the following question:
The application 'our-app', is a C-program that embeds the perl-interpreter (of a specific version of perl).
To be able to do this, we've build the version of perl we like to use in a specific directory:/perl-5.12.3/
And we link perl-5.12.3/CORE/libperl.a to our-app.
We've used the application for some years now, both on Solaris as on Linux.
When the application is used on Solaris, it runs as expected, but, if used on Linux, using e.g. the MD5 perl module, we see this problem:
We've also tested it with an older version of perl, (5.8.8) and we see the same problem, but the missing symbol is called Perl_Tstack_sp_ptr in that case.
We've used 'nm' to check if the missing symbol is defined in our-app: Yes it is!Any help is appreciated