On 26-5-2017 16:37, Willem Jan Withagen wrote: > On 26-5-2017 16:12, Willem Jan Withagen wrote: >> Hi Kefu, >> >> This change has happend relatively early in my vacation because all the >> build that are left sort of hang on this. ceph-dencoder just misses out >> on a large number of Py object that it can not link. And that again >> comes from linking boost_python. >> >> Now I remember we had this problem when we reworked the >> find_package(python) stuff. >> Any suggestions other than starting to bisect this? > > Right, > > It is the other way around.... > Boost linking just always includes boost_python which in turn misses > -lpython to be successful. > So now the question is, why am I getting boost_python there? The standard include Boost code in Cmake returns all available libraries. So for now I'm manually removing /usr/local/lib/libboost_python.so from the Boost_LIBRARIES. Now REMOVE_ITEM does not use regual expressions, so it is hardcoded. Which looks sort of clumsy. I'll submit a PR for this. --WjW -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html