Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I have a third-party software to preprocess my data (the data is recorded with the device of the third-party). This software was written for unix systems and runs without any problems on the following os: fedora, ubuntu, os x 10.5, os x 10.6, os x 10.7. Lately I bought myself the new MacBook Pro with OS X 10.8. (I have installed XQuartz and Xcode 4.4)
As in the past I copied the software into the directory /opt/ctf/bin and exported this path into my PATH.
Trying to execute one program gives me the following error msg:

showTriggers 
-bash: /opt/ctf/bin/showTriggers: cannot execute binary file

I checked the permissions:

-rwxr-xr-x  1 root  wheel  ... showTriggers  

Has anyone an idea where the problem is and how I can solve that issue. What changed with os x 10.8 and yields to this error?

share|improve this question
1  
Run: file /opt/ctf/bin/showTriggers –  Jason Salaz Oct 26 '12 at 10:21
    
What does the file command report on this file ? –  Antoine Lecaille Oct 26 '12 at 10:21
    
What does mount report ? What are the mount options on the partition on which /opt is located ? –  Antoine Lecaille Oct 26 '12 at 10:23
    
mount /dev/disk0s2 on / (hfs, local, journaled) devfs on /dev (devfs, local, nobrowse) map -hosts on /net (autofs, nosuid, automounted, nobrowse) map auto_home on /home (autofs, automounted, nobrowse) –  Irreducible Oct 26 '12 at 11:03
    
Please run otool -L /opt/ctf/bin/showTriggers, df -i and, as Jason Salaz requested above, file /opt/ctf/bin/showTriggers and post the output. –  jaume Oct 26 '12 at 12:30
show 1 more comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.