Problem with a perl script
i have a problem, im trying to run a perl script, but all i seem to get is this error code
bash: ./install: bad interpreter: No such file or directory
somone on irc was trying to help me, but he disconnected and was not able to finish, here is a copy/paste of what he was having me do.
root@Aura:/var/www/cgi-bin# head -n1 ./install
#!/bin/sh
root@Aura:/var/www/cgi-bin# which perl
/usr/local/bin/perl
root@Aura:/var/www/cgi-bin# which sh
/bin/sh
root@Aura:/var/www/cgi-bin# ln -s /usr/local/bin/perl /usr/bin/perl
ln: `/usr/bin/perl': File exists
root@Aura:/var/www/cgi-bin# ls -l /bin/sh
lrwxrwxrwx 1 root root 4 May 9 18:35 /bin/sh -> bash
root@Aura:/var/www/cgi-bin# ls -l /bin/bash
-rwxr-xr-x 1 root bin 518140 Apr 10 2001 /bin/bash
any help on this head ache would help.
Thanks.
The system is Slack 8.0 with Kernel 2.4.5
Perl version 5.6.1
|