<div>Hi Jeff,</div>Is your goal to have a uniform setup under Mac OS and Linux? Under Linux you can use libtbx/configure.py --static-libraries.<div>Ralf</div><div><br><div class="gmail_quote">On Sat, Dec 10, 2011 at 8:14 PM,  <span dir="ltr">&lt;<a href="mailto:vanv0059@umn.edu">vanv0059@umn.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Dec 9 2011, Ralf Grosse-Kunstleve wrote:<br>
<br>
</div><div><div class="h5"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Jeff,<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Ok, I will look at the define. I am sure I didn&#39;t copy them all (I<br>
overlooked the fact that they might be required for linking).<br>
</blockquote>
<br>
<br>
You only need them when compiling your C++ code. You don&#39;t need them for<br>
linking.<br>
<br>
Ralf<br>
</blockquote>
<br></div></div>
To recap, I did link to lib/libiotbx_pdb.a, and my example code works. I used the default g++ on Mac OS 10.6.8 with -dynamic -rpath (and more flags) to create a dynamic lib from the iotbx object files created by the libtbx build process. It is using that dynamic library that caused the issue. I might just ignore this issue if it is possible for me to roll the libiotbx_pdb.a into a larger dylib. The reason is our production and test applications are hosted on Linux systems and the shared objects libraries are created by default on Linux.<br>

<br>
--Jeff<div class="HOEnZb"><div class="h5"><br>
______________________________<u></u>_________________<br>
cctbxbb mailing list<br>
<a href="mailto:cctbxbb@phenix-online.org" target="_blank">cctbxbb@phenix-online.org</a><br>
<a href="http://phenix-online.org/mailman/listinfo/cctbxbb" target="_blank">http://phenix-online.org/<u></u>mailman/listinfo/cctbxbb</a><br>
</div></div></blockquote></div><br></div>