[cctbxbb] Using iotbx.pdb as C++ only dynamic (shared) library
rwgrosse-kunstleve at lbl.gov
Sat Dec 10 20:45:37 PST 2011
Is your goal to have a uniform setup under Mac OS and Linux? Under Linux
you can use libtbx/configure.py --static-libraries.
On Sat, Dec 10, 2011 at 8:14 PM, <vanv0059 at 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
> 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.
> cctbxbb mailing list
> cctbxbb at phenix-online.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cctbxbb