title: How do I install IBM DB2 Express-C on Mac OS X 10.7 Lion?
body: <p>I was able to install and use IBM DB2 Express-C 9.5.2. beta in Mac OS X Snow Leopard with no trouble at all. In Mac OS X 10.7 Lion, though, installation using the db2setup script fails with:</p>
  
  <blockquote>
    <p>DBI1189E There has been an attempt to use db2setup on an image for a platform that does not match the current platform 'Darwin [x86_64]' on which it is being run.</p>
  </blockquote>
  
  <p><strong>How can I work around this to install DB2 Express-C on Lion?</strong></p>
  
  <p>edit: moved answer to answers</p>