On Tue, Jun 02, 2015 at 07:38:23AM -0700, Andrea Prodi wrote:
> Dear diffpy_cmi developers,
>
> I am trying to build diffpy on Scientific Linux SL6, since the
> precompiled binaries are not working because the GLIBC version that
> comes with SL6 is too old.
>
> the build of target 8: srreal is failing because conf.CheckLib scons
> routine cannot find 'boost_python' library. I've installed boost
> 1.58 and I have multiple python versions (2.6 and 2.7 (on
> /usr/local), building with 2.7), so I guess it cannot link to the
> proper version of the library ?
Hi Andrea,
I would first try to remove all libboost_*.so files from the
diffpy_cmi-1.0-py2.7-linux-x86_64/lib directory as they came from
the binary distribution and are not compatible with your boost version.
The "./install --build=6,7,8" should then link to your boost library
instead. Note that the build command applies also for the pyobjcryst
and libdiffpy packages as they also use the shared boost libraries.
If this proves troublesome, an easier option is to get the
source-only distribution
[
https://github.com/diffpy/diffpy-release/releases/latest]
and build everything from scratch. I would also recommend
to get the latest updates as:
./install --update
./install
Hope this helps,
Pavol
--
Dr. Pavol Juhas
Condensed Matter Physics and Materials Science Department
Brookhaven National Laboratory
P.O. Box 5000
Upton, NY 11973-5000