[CDRIVER-223] libmongoclient.so should use a soname version Created: 02/Jul/13  Updated: 11/Nov/13  Resolved: 11/Nov/13

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 0.90.0

Type: Bug Priority: Major - P3
Reporter: Honza Horak Assignee: Gary Murakami
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Fedora



 Description   

I'm wondering why share client in Linux (libmongoclient.so) doesn't have a soname version number (at least Fedora doesn't provide it in v2.2, please, correct me if it is only a configuration option or it is there in newer version).

Does it mean that this client library doesn't bother with compatibility or the API/ABI is static?

If there is no strong reason to provide non-versioned shared library, I'd like to propose adding a soname version, at least as a non-default configure option. It is necessary to keep libraries compatible.



 Comments   
Comment by Christian Hergert [ 11/Nov/13 ]

We now do soname versioning (which can be found in configure.ac) for both libmongoc[1] and libbson[2]. I intend to maintain API and ABI guarantees once we reach 1.0.

[1] https://github.com/chergert/libmongoc/
[2] https://github.com/mongodb/libbson/

Cheers,

– Christian

Generated at Wed Feb 07 21:08:49 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.