LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-16-2008, 05:41 PM   #1
kenpeter
LQ Newbie
 
Registered: Jan 2008
Posts: 4

Rep: Reputation: 0
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
 
Old 01-16-2008, 06:19 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
Quote:
Originally Posted by kenpeter View Post
* 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
 
Old 01-16-2008, 07:01 PM   #3
kenpeter
LQ Newbie
 
Registered: Jan 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jailbait View Post
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot execute binary file rolandandy Linux - Newbie 2 10-09-2007 10:35 AM
Cannot execute binary file sonia gulrajani Programming 3 11-05-2006 01:30 AM
Cannot execute binary file pbagda Linux - General 4 01-19-2004 01:13 AM
Cannot execute binary file Nooodle007 Linux - Software 2 06-25-2003 01:25 PM
cannot execute binary file.... ttaylor Linux - General 4 10-02-2001 01:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration