LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   cannot execute binary file (https://www.linuxquestions.org/questions/linux-newbie-8/cannot-execute-binary-file-614095/)

kenpeter 01-16-2008 05:41 PM

cannot execute binary file
 
* I can execute the binary pdftk inside the directory, but I cannot execute it like /path/to/pdftk -- gives me cannot execute binary file

* But I can do it with another pdftk binary... any idea?

* The permission is 755

jailbait 01-16-2008 06:19 PM

Quote:

Originally Posted by kenpeter (Post 3025089)
* I can execute the binary pdftk inside the directory, but I cannot execute it like /path/to/pdftk -- gives me cannot execute binary file

* But I can do it with another pdftk binary... any idea?

* The permission is 755

Check and make sure that the permissions in all of the directories in the path also are executable.

-----------------------
Steve Stites

kenpeter 01-16-2008 07:01 PM

Quote:

Originally Posted by jailbait (Post 3025129)
Check and make sure that the permissions in all of the directories in the path also are executable.

-----------------------
Steve Stites

* I think it is compatibility. I am using mac, so that is why.
* I have libpdf_php.so. I want to put extension=libpdf_php.so in php.ini
but where I should put it, in the file system. I guess it is inside the php5 folder, but not sure extactly


All times are GMT -5. The time now is 03:06 PM.