Welcome to the Monastery | |
PerlMonks |
Sidestepping the Shebangby Sprad (Hermit) |
on Nov 02, 2005 at 16:33 UTC ( [id://504984]=perlquestion: print w/replies, xml ) | Need Help?? |
Sprad has asked for the wisdom of the Perl Monks concerning the following question:
I've got a Perl script that I need to run with a different interpreter. Unfortunately, I can't change the code at all, I can only run it from a wrapper script. So I'm trying a line like this: /new/perl script.pl But I get this error: /old/perl: relocation error: (blahblah)/DBI/DBI.so: undefined symbol: Perl_get_sv I made a local copy of the script and manually changed the #! to point to /new/perl. This works fine. So why's it still running /old/perl when I make the switch from the command line?
---
Back to
Seekers of Perl Wisdom
|
|