Given that Mac OS X is derived from BSD (Berkeley Systems Distribution) UNIX, I would assume that in some way or another, it would be possible to run command-line OS X programs on Ubuntu. I am really talking about those compiled programs which do not make use of any user interface features (in my case I need to run an executable file conversion tool). The particular tool I'm interested in runs on Mac OS X Mavericks.
If someone knows a way of achieving this, perhaps by recompiling the Linux kernel or installing some system software on Ubuntu, please let me know. I'm running Ubuntu 12.04.2 LTS, but I can also upgrade the system if absolutely necessary.