TRIQS/TRIQS — Issue #34: Installation problem with python library
Author: mferrero
Created: 2012-02-16 11:52:58+00:00
State: open

I am having a problem installing triqs too. The build is as shown below with the error "/usr/bin/ld: cannot find -lPYTHON_LIBRARY-FOUND" as shown towards the end. Please help advice me on what to do.

[ 0%] Built target triqs_Wien2k
[ 1%] Built target triqs_HubbardI
[ 9%] Built target dmftproj
[ 10%] [ 11%] [ 11%] [ 11%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/serialization/src/basic_iarchive.cpp.o
Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/serialization/src/basic_iserializer.cpp.o
Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/serialization/src/basic_archive.cpp.o
Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/serialization/src/archive_exception.cpp.o
[ 12%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/serialization/src/basic_oarchive.cpp.o
[ 12%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/serialization/src/basic_oserializer.cpp.o
[ 12%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/serialization/src/basic_pointer_iserializer.cpp.o
[ 13%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/serialization/src/basic_pointer_oserializer.cpp.o
[ 13%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/serialization/src/basic_serializer_map.cpp.o
[ 14%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/serialization/src/basic_text_iprimitive.cpp.o
[ 14%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/serialization/src/basic_text_oprimitive.cpp.o
[ 15%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/serialization/src/basic_text_wiprimitive.cpp.o
[ 15%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/serialization/src/basic_text_woprimitive.cpp.o
[ 16%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/serialization/src/basic_xml_archive.cpp.o
[ 16%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/serialization/src/binary_iarchive.cpp.o
[ 16%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/serialization/src/binary_oarchive.cpp.o
[ 17%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/serialization/src/binary_wiarchive.cpp.o
[ 17%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/serialization/src/binary_woarchive.cpp.o
[ 18%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/serialization/src/codecvt_null.cpp.o
[ 18%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/serialization/src/extended_type_info.cpp.o
[ 19%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/serialization/src/extended_type_info_no_rtti.cpp.o
[ 19%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/serialization/src/extended_type_info_typeid.cpp.o
[ 20%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/serialization/src/polymorphic_iarchive.cpp.o
[ 20%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/serialization/src/polymorphic_oarchive.cpp.o
[ 21%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/serialization/src/shared_ptr_helper.cpp.o
[ 21%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/serialization/src/stl_port.cpp.o
[ 21%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/serialization/src/text_iarchive.cpp.o
[ 22%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/serialization/src/text_oarchive.cpp.o
[ 22%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/serialization/src/text_wiarchive.cpp.o
[ 23%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/serialization/src/text_woarchive.cpp.o
[ 23%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/serialization/src/utf8_codecvt_facet.cpp.o
[ 24%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/serialization/src/void_cast.cpp.o
[ 24%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/serialization/src/xml_archive_exception.cpp.o
[ 25%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/serialization/src/xml_grammar.cpp.o
[ 25%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/serialization/src/xml_iarchive.cpp.o
[ 25%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/serialization/src/xml_oarchive.cpp.o
[ 26%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/serialization/src/xml_wgrammar.cpp.o
[ 26%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/serialization/src/xml_wiarchive.cpp.o
[ 27%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/serialization/src/xml_woarchive.cpp.o
[ 27%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/python/src/dict.cpp.o
[ 28%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/python/src/errors.cpp.o
[ 28%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/python/src/exec.cpp.o
[ 29%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/python/src/import.cpp.o
[ 29%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/python/src/list.cpp.o
[ 29%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/python/src/long.cpp.o
[ 30%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/python/src/module.cpp.o
[ 30%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/python/src/numeric.cpp.o
[ 31%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/python/src/object_operators.cpp.o
[ 31%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/python/src/object_protocol.cpp.o
[ 32%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/python/src/slice.cpp.o
[ 32%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/python/src/str.cpp.o
[ 33%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/python/src/tuple.cpp.o
[ 33%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/python/src/wrapper.cpp.o
[ 34%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/python/src/converter/arg_to_python_base.cpp.o
[ 34%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/python/src/converter/builtin_converters.cpp.o
[ 34%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/python/src/converter/from_python.cpp.o
[ 35%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/python/src/converter/registry.cpp.o
[ 35%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/python/src/converter/type_id.cpp.o
[ 36%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/python/src/object/class.cpp.o
[ 36%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/python/src/object/enum.cpp.o
[ 37%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/python/src/object/function.cpp.o
[ 37%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/python/src/object/function_doc_signature.cpp.o
[ 38%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/python/src/object/inheritance.cpp.o
[ 38%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/python/src/object/iterator.cpp.o
[ 38%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/python/src/object/life_support.cpp.o
[ 39%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/python/src/object/pickle_support.cpp.o
[ 39%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/python/src/object/stl_iterator.cpp.o
[ 40%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/system/src/error_code.cpp.o
[ 40%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/mpi/src/broadcast.cpp.o
[ 41%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/mpi/src/communicator.cpp.o
[ 41%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/mpi/src/computation_tree.cpp.o
[ 42%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/mpi/src/content_oarchive.cpp.o
[ 42%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/mpi/src/environment.cpp.o
[ 42%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/mpi/src/exception.cpp.o
[ 43%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/mpi/src/graph_communicator.cpp.o
[ 43%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/mpi/src/group.cpp.o
[ 44%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/mpi/src/intercommunicator.cpp.o
[ 44%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/mpi/src/mpi_datatype_cache.cpp.o
[ 45%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/mpi/src/mpi_datatype_oarchive.cpp.o
[ 45%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/mpi/src/packed_iarchive.cpp.o
[ 46%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/mpi/src/packed_oarchive.cpp.o
[ 46%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/mpi/src/packed_skeleton_iarchive.cpp.o
[ 47%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/mpi/src/packed_skeleton_oarchive.cpp.o
[ 47%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/mpi/src/point_to_point.cpp.o
[ 47%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/mpi/src/request.cpp.o
[ 48%] Building CXX object foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/../../boost_1_47_0/libs/mpi/src/timer.cpp.o
Linking CXX shared library libboost_for_triqs.so
/usr/bin/ld: cannot find -lPYTHON_LIBRARY-FOUND
collect2: ld returned 1 exit status
make[2]: *** [foreignlibs/boost/libboost_for_triqs.so] Error 1
make[1]: *** [foreignlibs/boost/CMakeFiles/boost_for_triqs.dir/all] Error 2
make: *** [all] Error 2