Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-16103

compilation problem caused by boost dependency

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Major - P3 Major - P3
    • None
    • 2.6.5
    • Build
    • None

    Description

      hi,
      The binary packet of mongodb from the website won't run in my linux and it says as below:
      mongo: /lib64/libgcc_s.so.1: version `GCC_4.0.0' not found (required by mongo)
      mongo: /usr/lib64/libstdc++.so.6: version `CXXABI_1.3.1' not found (required by mongo)
      so I decide to compile mongo myself. An error occured:
      src/mongo/platform/unordered_map.h:52:29: tr1/unordered_map: No such file or directory
      it seems that gcc cannot found the boost header files. but I have set --cpppath param for the scons. I noticed that the path of "unordered_map" is "boost/include/boost/tr1/tr1/unordered_map", and in the source file of mongodb "mongo/platform/unordered_map.h" line 52."#include <tr1/unordered_map>" indicate the path of "unordered_map" is "boost/include/boost/tr1/unordered_map" , so how can i solve the problem?

      Thank you very much.
      Allen

      Attachments

        Activity

          People

            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            mizzler Allen K
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: