monkfan has asked for the wisdom of the Perl Monks concerning the following question:
Dear fellow monks,
I've installed Perl interpreter in my local directory as follows:
Some notes:
Regards,
Edward
And I also have stored the .htaccess with the following entries:$!which perl /home/rsch/bioinfo/.perl/bin/perl
However upon running my cgi-script (hello.cgi) like this:SetEnv PATH /home/rsch/bioinfo/.perl/bin:/home/rsch/bioinfo/bin SetEnv PERL5LIB /home/rsch/bioinfo/lib/perl5/site_perl/5.8.7/sun4-sola +ris:/home/rsch/bioinfo/lib/perl5/site_perl/5.8.7
It gives the following error log.#!/home/rsch/bioinfo/.perl/bin/perl print "Content-type: text/html\n\n"; print "Hello World !! It works.\n";
Any idea what went wrong with my scheme? Especially the .htaccess entry?ld.so.1: /home/rsch/bioinfo/.perl/bin/perl: fatal: libc.so.1: version +`SUNW_1.19' not found (required by file /home/rsch/bioinfo/.perl/bin/ +perl)
Some notes:
- The default (#!/usr/local/bin/perl) Perl version in my office system is too old (version 5.004). That's why I installed the latest version of Perl locally.
- I can execute a normal perl script (*.pl) with my locally installed perl with no problem with the new shebang (#!/home/rsch/bioinfo/.perl/bin/perl).
Regards,
Edward
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: .htaccess for Locating Locally Installed Perl
by almut (Canon) on Mar 28, 2007 at 10:03 UTC | |
Re: .htaccess for Locating Locally Installed Perl
by johngg (Canon) on Mar 28, 2007 at 09:00 UTC | |
by monkfan (Curate) on Mar 28, 2007 at 09:08 UTC | |
Re: .htaccess for Locating Locally Installed Perl
by Anno (Deacon) on Mar 28, 2007 at 08:58 UTC | |
by monkfan (Curate) on Mar 28, 2007 at 09:07 UTC | |
by Anno (Deacon) on Mar 28, 2007 at 09:30 UTC |
Back to
Seekers of Perl Wisdom