[SERVER-39581] Avoid unnecessary link dependencies in stitch server lib Created: 14/Feb/19  Updated: 29/Oct/23  Resolved: 20/Feb/19

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: None
Fix Version/s: 4.1.9

Type: Improvement Priority: Major - P3
Reporter: Michael O'Brien Assignee: Andrew Morrow (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Dev Tools 2019-02-25
Participants:

 Description   

cc acm per our convo yesterday: 

The stitch server lib seems to have link dependencies on libcrypto/libssl libcurl, and for the enterprise target (though it's not really needed at this stage) libsnmp as well. 

Eliminating these dependencies would make deploying to our environment a bit easier.

 



 Comments   
Comment by Githook User [ 20/Feb/19 ]

Author:

{'name': 'Andrew Morrow', 'username': 'acmorrow', 'email': 'acm@mongodb.com'}

Message: SERVER-39581 Reduce dependency set of the query SDK
Branch: master
https://github.com/mongodb/mongo/commit/c94633ce354291ce3a61a1eed7d8a66c11b54c04

Comment by Andrew Morrow (Inactive) [ 14/Feb/19 ]

You know, I think this might be a very easy fix. The mobile build adds the following flags to its compile:

          --enable-free-mon=off
          --ssl=off
          --enable-http-client=off

I think if you added those, you may find that those dependencies disappear. Also, do you actually need any features from enterprise? You are getting them because you are building from a tree that has enterprise enabled by virtue of it getting cloned into the tree by the higher level build system, but if you don't actually need it, you could disable all of it by adding --modules= (note no argument after=) to the compile line.

Generated at Thu Feb 08 04:52:28 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.