title: How can I resolve a conflict between 32-bit and 64-bit libraries for GMP?
body: <p>I am trying to use the GNU Multiple Precision (GMP) library in a C++ project. When I try to compile my code (using <code>g++ project.cpp</code>) I get the following output:</p>
  
  <pre><code>Undefined symbols for architecture x86_64:
  "___gmpz_clears", referenced from:
    _main in project-d867c2.o
  "___gmpz_inits", referenced from:
    _main in project-d867c2.o
  ld: symbol(s) not found for architecture x86_64
  clang: error: linker command failed with exit code 1 (use -v to see invocation)
  </code></pre>
  
  <p>From reading related questions, it seems like there is some conflict between 32-bit and 64-bit libraries. I don't know very much about this though.</p>
  
  <blockquote>
    <p>How can I resolve this conflict?</p>
  </blockquote>