Checking for fat binary components

  • file – will provide the file type information. in the case of a binary, it will give the components that makes up the binary
  • readlink – will provide the libraries it is linked to
$ readlink /usr/bin/ruby
../../System/Library/Frameworks/Ruby.framework/Versions/Current/usr/bin/ruby
$ file /usr/lib/libruby.dylib
/usr/lib/libruby.dylib: Mach-O universal binary with 4 architectures
/usr/lib/libruby.dylib (for architecture ppc7400):   Mach-O dynamically linked shared library ppc
/usr/lib/libruby.dylib (for architecture ppc64):   Mach-O 64-bit dynamically linked shared library ppc64
/usr/lib/libruby.dylib (for architecture i386):   Mach-O dynamically linked shared library i386
/usr/lib/libruby.dylib (for architecture x86_64):   Mach-O 64-bit dynamically linked shared library x86_64

Notes on Setting up Hosted Email

  • postsuper – a command used for mail queue maintenance
  • postfix reload – a command used to refresh postfix
  • postconf -n – a command used to look at mail configuration
  • /etc/postfix/master.cf – there is apprently a SMTP line that can cause the mail transport to not be able to find the SMTP port. Uncommenting the SMTP line will enable the service for external host delivery.

Stopping QMaster from launching at Startup

I Installed Logic Studio into my system and found that while i wanted all the components of Logic Studio, i didn’t want Qmaster to start when the machine boots. Changing files in /etc/hostconfig didn’t help. Ultimately, i discovered that theqmaster was controlled in the file

/Library/Application Support/Apple Qmaster/qmasterconfig

Simply edit that file and change the value of QMASTERDAEMON from -YES- to a -NO-.