hello
I am on a 64-bit kali linux (rolling). i need to compile mongod from source as it supports libcurl4.i followed all the instructions from building.md in /docs on the github page of the master branch.
everything compiles for 2+ hours and then starts the linking process,mongo shell client is build but eventually the build process ends with
the following error.
Linking build/opt/mongo/mongo
Install file: "build/opt/mongo/mongo" as "mongo"
/bin/ld.gold: error: build/opt/mongo/db/s/libtransaction_coordinator.a(build/opt/mongo/db/s/transaction_coordinator_worker_curop_repository_mongod.o): multiple definition of 'mongo::ShimBasis_68::MongoShimImplGuts::ImplTUHookTypeBase::ImplTUHookTypeBase()'
/bin/ld.gold: build/opt/mongo/db/libread_concern_d_impl.a(build/opt/mongo/db/read_concern_mongod.o): previous definition here
/bin/ld.gold: error: build/opt/mongo/db/s/libtransaction_coordinator.a(build/opt/mongo/db/s/transaction_coordinator_worker_curop_repository_mongod.o): multiple definition of 'mongo::ShimBasis_68::MongoShimImplGuts::ImplTUHookTypeBase::ImplTUHookTypeBase()'
/bin/ld.gold: build/opt/mongo/db/libread_concern_d_impl.a(build/opt/mongo/db/read_concern_mongod.o): previous definition here
/bin/ld.gold: error: build/opt/mongo/db/s/libsharding_api_d.a(build/opt/mongo/db/s/transaction_coordinator_worker_curop_repository.o): multiple definition of 'mongo::ShimBasis_68::MongoShimImplGuts::LibTUHookTypeBase::LibTUHookTypeBase()'
/bin/ld.gold: build/opt/mongo/db/librw_concern_d.a(build/opt/mongo/db/read_concern.o): previous definition here
/bin/ld.gold: error: build/opt/mongo/db/s/libsharding_api_d.a(build/opt/mongo/db/s/transaction_coordinator_worker_curop_repository.o): multiple definition of 'mongo::ShimBasis_68::MongoShimImplGuts::LibTUHookTypeBase::LibTUHookTypeBase()'
/bin/ld.gold: build/opt/mongo/db/librw_concern_d.a(build/opt/mongo/db/read_concern.o): previous definition here
collect2: error: ld returned 1 exit status
scons: *** [build/opt/mongo/mongod] Error 1
scons: building terminated because of errors.
build/opt/mongo/mongod failed: Error 1
i was using mongodb in my project before but now its broken and i can't use since i upgraded my kali linux to using libcurl4 which conflicts with the libcurl3 that older versions of mongodb use. Any help would be greatly appreciated. Should i also file a ticket with JIRA?