perlsystem-calls

Can't exec No such file or directory


I'm having a problem with a perl script. In my script, I call another program with a system() call, but I got this error:

Can't exec "./Classificador/svm_classify": No such file or directory at Analise_de_Sentimentos_mudanca.pl line 463.

I don't know if there is a problem in having my program in a different directory than the called program.

Another curious thing is that this script used to run normally in Ubuntu 10.10. But now I've changed to Mint 14. Is it missing some library?


Solution

  • Does this "./Classificador/svm_classify" exists ? Check the following :

    1) to go the directory where this file lays - Analise_de_Sentimentos_mudanca.pl

    2) run :

    ll Classificador/svm_classify
    

    3) show us the results