This is a request for enhancement for SCL to package a version of libmongodb on RHEL 6 and 7 that functions properly with Windows Server MongoDB 3.2. The goal here is to use the newest possible versions of all components. A note from the customer with more information: MongoDB C++ Driver on MongoDB site: The most recent Legacy driver release is: https://github.com/mongodb/mongo-cxx-driver/releases/tag/legacy-1.1.1, Please note that there are changes required to migrate from 26compat to legacy. In particular, there are changes to the build system, and to the APIs. I recommend reading the following two pages: https://github.com/mongodb/mongo-cxx-driver/wiki/Download-and-Compile-The-Legacy-Driver https://github.com/mongodb/mongo-cxx-driver/wiki/Configuring%20the%20Legacy%20Driver https://github.com/mongodb/mongo-cxx-driver/wiki/Breaking-changes-between-26compat-and-legacy
Just a comment about implementation details. If we added libmongodb into SCL, the library wouldn't be available on standard library path, so what the user would have to do is enabling the collection properly via `scl enable rh-mongodb32` in those two cases: 1) every-time some application that uses this library is built 2) every-time such an application is run (unless user will use some trick with rpath) Would that be acceptable for the customer?
The application currently sets up an environment before it runs, so using the rpath option would be the most likely solution, we would just add setting up the rpath variable to find the rh-mongodb-32 libraries. We had previously compiled libmongo to use ssl, and were able to use ssl, and tls without issue. But we're having troubles getting it to work with Kerberos when we tried compiling with scons --full --use-system-boost --ssl --sharedclient --use-sasl-client
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2016-2735.html