configure error: Could not link against boost_system

前端 未结 10 1707
星月不相逢
星月不相逢 2021-02-05 05:52

I\'m trying to install a package (soccer simulator 2d) on Debian. When I go to the directory and run ./configure, I get the following:

reza@debian:~         


        
10条回答
  •  半阙折子戏
    2021-02-05 06:14

    I just had this issue and for the benefit of anyone else, make sure you look at the configure output very closely! There is a bug in the checks, so if Boost library B is missing, you will see this:

    checking whether the A library is available... yes
    checking for exit in -lA... yes
    checking whether the B library is available... no
    configure: error: Could not link against A
    

    Note that although the error message complains about A, the missing library is actually B! If you install library B then the check will succeed.

提交回复
热议问题