CMAKE along with GCC 4.8 is not able to find LMDB, GFlags, Glog, boost for caffe installation












0















I get stuck at installing caffe.



I requires a GCC version < 5.



I did the following :



1)




  • l kept my current gcc version : gcc version 8.2.0 (Debian 8.2.0-4)

  • At the cmake step : cmake .. l comlied correclty

  • But l run make -j


l get the error that : GCC < 5 is required



then l downgraded my gcc to version 4.8.5 (GCC) and l repeated the same process and l get stuck this time at cmake ..
The erro is as fllow :



CMake Error at /usr/share/cmake-3.12/Modules/FindBoost.cmake:2063 (message):
Unable to find the requested Boost libraries.

Boost version: 1.62.0

Boost include path: /usr/include

Could not find the following Boost libraries:

boost_system
boost_thread
boost_filesystem

Some (but not all) of the required Boost libraries were found. You may
need to install these additional Boost libraries. Alternatively, set
BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT
to the location of Boost.
Call Stack (most recent call first):
cmake/Dependencies.cmake:5 (find_package)
CMakeLists.txt:43 (include)

/libstdc++.so.6: version `GLIBCXX_3.4.20' not found
/libstdc++.so.6: version `CXXABI_1.3.8' not found
/libstdc++.so.6: version `CXXABI_1.3.9' not found
/libstdc++.so.6: version `GLIBCXX_3.4.21' not found
/libstdc++.so.6: version `GLIBCXX_3.4.20' not found
/libstdc++.so.6: version `CXXABI_1.3.8'
/libstdc++.so.6: version `CXXABI_1.3.9'
/libstdc++.so.6: version `GLIBCXX_3.4.21'
Protobuf compiler version doesn't match library version 3.0.0
CMake Error at /usr/share/cmake-3.12/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find LMDB (missing: LMDB_LIBRARIES)
Call Stack (most recent call first):
/usr/share/cmake-3.12/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
cmake/Modules/FindLMDB.cmake:19 (find_package_handle_standard_args)
cmake/Dependencies.cmake:33 (find_package)
CMakeLists.txt:43 (include)


These packages were correctly found when l run cmake wih gcc8.2 (but can run make -j because it requires gcc < 5) .



How can l solve that ?



It seems that cmake with gcc 4.8 can't find these above libraries .










share|improve this question



























    0















    I get stuck at installing caffe.



    I requires a GCC version < 5.



    I did the following :



    1)




    • l kept my current gcc version : gcc version 8.2.0 (Debian 8.2.0-4)

    • At the cmake step : cmake .. l comlied correclty

    • But l run make -j


    l get the error that : GCC < 5 is required



    then l downgraded my gcc to version 4.8.5 (GCC) and l repeated the same process and l get stuck this time at cmake ..
    The erro is as fllow :



    CMake Error at /usr/share/cmake-3.12/Modules/FindBoost.cmake:2063 (message):
    Unable to find the requested Boost libraries.

    Boost version: 1.62.0

    Boost include path: /usr/include

    Could not find the following Boost libraries:

    boost_system
    boost_thread
    boost_filesystem

    Some (but not all) of the required Boost libraries were found. You may
    need to install these additional Boost libraries. Alternatively, set
    BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT
    to the location of Boost.
    Call Stack (most recent call first):
    cmake/Dependencies.cmake:5 (find_package)
    CMakeLists.txt:43 (include)

    /libstdc++.so.6: version `GLIBCXX_3.4.20' not found
    /libstdc++.so.6: version `CXXABI_1.3.8' not found
    /libstdc++.so.6: version `CXXABI_1.3.9' not found
    /libstdc++.so.6: version `GLIBCXX_3.4.21' not found
    /libstdc++.so.6: version `GLIBCXX_3.4.20' not found
    /libstdc++.so.6: version `CXXABI_1.3.8'
    /libstdc++.so.6: version `CXXABI_1.3.9'
    /libstdc++.so.6: version `GLIBCXX_3.4.21'
    Protobuf compiler version doesn't match library version 3.0.0
    CMake Error at /usr/share/cmake-3.12/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
    Could NOT find LMDB (missing: LMDB_LIBRARIES)
    Call Stack (most recent call first):
    /usr/share/cmake-3.12/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
    cmake/Modules/FindLMDB.cmake:19 (find_package_handle_standard_args)
    cmake/Dependencies.cmake:33 (find_package)
    CMakeLists.txt:43 (include)


    These packages were correctly found when l run cmake wih gcc8.2 (but can run make -j because it requires gcc < 5) .



    How can l solve that ?



    It seems that cmake with gcc 4.8 can't find these above libraries .










    share|improve this question

























      0












      0








      0








      I get stuck at installing caffe.



      I requires a GCC version < 5.



      I did the following :



      1)




      • l kept my current gcc version : gcc version 8.2.0 (Debian 8.2.0-4)

      • At the cmake step : cmake .. l comlied correclty

      • But l run make -j


      l get the error that : GCC < 5 is required



      then l downgraded my gcc to version 4.8.5 (GCC) and l repeated the same process and l get stuck this time at cmake ..
      The erro is as fllow :



      CMake Error at /usr/share/cmake-3.12/Modules/FindBoost.cmake:2063 (message):
      Unable to find the requested Boost libraries.

      Boost version: 1.62.0

      Boost include path: /usr/include

      Could not find the following Boost libraries:

      boost_system
      boost_thread
      boost_filesystem

      Some (but not all) of the required Boost libraries were found. You may
      need to install these additional Boost libraries. Alternatively, set
      BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT
      to the location of Boost.
      Call Stack (most recent call first):
      cmake/Dependencies.cmake:5 (find_package)
      CMakeLists.txt:43 (include)

      /libstdc++.so.6: version `GLIBCXX_3.4.20' not found
      /libstdc++.so.6: version `CXXABI_1.3.8' not found
      /libstdc++.so.6: version `CXXABI_1.3.9' not found
      /libstdc++.so.6: version `GLIBCXX_3.4.21' not found
      /libstdc++.so.6: version `GLIBCXX_3.4.20' not found
      /libstdc++.so.6: version `CXXABI_1.3.8'
      /libstdc++.so.6: version `CXXABI_1.3.9'
      /libstdc++.so.6: version `GLIBCXX_3.4.21'
      Protobuf compiler version doesn't match library version 3.0.0
      CMake Error at /usr/share/cmake-3.12/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
      Could NOT find LMDB (missing: LMDB_LIBRARIES)
      Call Stack (most recent call first):
      /usr/share/cmake-3.12/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
      cmake/Modules/FindLMDB.cmake:19 (find_package_handle_standard_args)
      cmake/Dependencies.cmake:33 (find_package)
      CMakeLists.txt:43 (include)


      These packages were correctly found when l run cmake wih gcc8.2 (but can run make -j because it requires gcc < 5) .



      How can l solve that ?



      It seems that cmake with gcc 4.8 can't find these above libraries .










      share|improve this question














      I get stuck at installing caffe.



      I requires a GCC version < 5.



      I did the following :



      1)




      • l kept my current gcc version : gcc version 8.2.0 (Debian 8.2.0-4)

      • At the cmake step : cmake .. l comlied correclty

      • But l run make -j


      l get the error that : GCC < 5 is required



      then l downgraded my gcc to version 4.8.5 (GCC) and l repeated the same process and l get stuck this time at cmake ..
      The erro is as fllow :



      CMake Error at /usr/share/cmake-3.12/Modules/FindBoost.cmake:2063 (message):
      Unable to find the requested Boost libraries.

      Boost version: 1.62.0

      Boost include path: /usr/include

      Could not find the following Boost libraries:

      boost_system
      boost_thread
      boost_filesystem

      Some (but not all) of the required Boost libraries were found. You may
      need to install these additional Boost libraries. Alternatively, set
      BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT
      to the location of Boost.
      Call Stack (most recent call first):
      cmake/Dependencies.cmake:5 (find_package)
      CMakeLists.txt:43 (include)

      /libstdc++.so.6: version `GLIBCXX_3.4.20' not found
      /libstdc++.so.6: version `CXXABI_1.3.8' not found
      /libstdc++.so.6: version `CXXABI_1.3.9' not found
      /libstdc++.so.6: version `GLIBCXX_3.4.21' not found
      /libstdc++.so.6: version `GLIBCXX_3.4.20' not found
      /libstdc++.so.6: version `CXXABI_1.3.8'
      /libstdc++.so.6: version `CXXABI_1.3.9'
      /libstdc++.so.6: version `GLIBCXX_3.4.21'
      Protobuf compiler version doesn't match library version 3.0.0
      CMake Error at /usr/share/cmake-3.12/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
      Could NOT find LMDB (missing: LMDB_LIBRARIES)
      Call Stack (most recent call first):
      /usr/share/cmake-3.12/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
      cmake/Modules/FindLMDB.cmake:19 (find_package_handle_standard_args)
      cmake/Dependencies.cmake:33 (find_package)
      CMakeLists.txt:43 (include)


      These packages were correctly found when l run cmake wih gcc8.2 (but can run make -j because it requires gcc < 5) .



      How can l solve that ?



      It seems that cmake with gcc 4.8 can't find these above libraries .







      gcc debian cmake conda caffe






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked yesterday









      vincetvincet

      291146




      291146






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1116461%2fcmake-along-with-gcc-4-8-is-not-able-to-find-lmdb-gflags-glog-boost-for-caffe%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Ask Ubuntu!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1116461%2fcmake-along-with-gcc-4-8-is-not-able-to-find-lmdb-gflags-glog-boost-for-caffe%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          數位音樂下載

          格利澤436b

          When can things happen in Etherscan, such as the picture below?