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

CXX-Driver: examples/tutorial.cpp throws assertion src/mongo/client/dbclientinterface.h:1105

    • Linux

      cxx-driver installed with

      sudo scons install

      installation and compilation works streight forward, but I can't get the examples/tutorial.cpp working as descripted here: http://www.mongodb.org/pages/viewpage.action?pageId=133415#C%2B%2BTutorial-Connecting

      example compiled with

      g++ tutorial.cpp -pthread -lmongoclient -lboost_thread-mt -lboost_filesystem -lboost_program_options -lboost_system -o tutorial

      compilation returns no errors, too.

      on executing ./tutorial the following appear:

      $ ./tutorial
      Thu Nov 8 14:22:12 Assertion failure p src/mongo/client/dbclientinterface.h 1105
      caught assertion src/mongo/client/dbclientinterface.h:1105

      Don't know, what I can do against it?

      Thanks!

      • Mathias

            Assignee:
            Unassigned Unassigned
            Reporter:
            drmonty Mathias Rohnstock
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: