Sprad has asked for the wisdom of the Perl Monks concerning the following question:
/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?
---
A fair fight is a sign of poor planning.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Sidestepping the Shebang
by sgifford (Prior) on Nov 02, 2005 at 17:08 UTC | |
|
Re: Sidestepping the Shebang
by Perl Mouse (Chaplain) on Nov 02, 2005 at 16:53 UTC | |
by Sprad (Hermit) on Nov 02, 2005 at 17:06 UTC | |
by Perl Mouse (Chaplain) on Nov 02, 2005 at 17:16 UTC | |
|
Re: Sidestepping the Shebang
by Delusional (Beadle) on Nov 03, 2005 at 11:07 UTC |