[cctbxbb] Using iotbx.pdb as C++ only dynamic (shared) library

Ralf Grosse-Kunstleve rwgrosse-kunstleve at lbl.gov
Sat Dec 10 20:45:37 PST 2011

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.

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
>> 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 at phenix-online.org
> http://phenix-online.org/**mailman/listinfo/cctbxbb<http://phenix-online.org/mailman/listinfo/cctbxbb>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://phenix-online.org/pipermail/cctbxbb/attachments/20111210/b8826c15/attachment.htm>

More information about the cctbxbb mailing list