Hi Jeff,
Is your goal to have a uniform setup under Mac OS and Linux? Under Linux you can use libtbx/configure.py --static-libraries.
Ralf

On Sat, Dec 10, 2011 at 8:14 PM, <vanv0059@umn.edu> wrote:
On Dec 9 2011, Ralf Grosse-Kunstleve wrote:

Hi Jeff,


Ok, I will look at the define. I am sure I didn't copy them all (I
overlooked the fact that they might be required for linking).


You only need them when compiling your C++ code. You don't need them for
linking.

Ralf

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.

--Jeff

_______________________________________________
cctbxbb mailing list
cctbxbb@phenix-online.org
http://phenix-online.org/mailman/listinfo/cctbxbb