[CDRIVER-2673] Fix SONAME of libraries created by CMake Created: 30/May/18  Updated: 28/Oct/23  Resolved: 06/Jun/18

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

Type: Bug Priority: Major - P3
Reporter: Roberto Sanchez Assignee: A. Jesse Jiryu Davis
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by CDRIVER-2514 Produce Debian packages from CMake build Closed

 Description   

While working on CDRIVER-2514 I noticed that the CMake build produces library files with a different SONAME than what we expect. Specifically, it creates symlinks for libbson-1.0.so.1 and libmongoc-1.0.so.1. Those symlinks should not be present. The expected SONAME for the library is currently 0.



 Comments   
Comment by Githook User [ 07/Jun/18 ]

Author:

{'username': 'ajdavis', 'name': 'A. Jesse Jiryu Davis', 'email': 'jesse@mongodb.com'}

Message: CDRIVER-2673 test to verify installed lib name
Branch: r1.10
https://github.com/mongodb/mongo-c-driver/commit/9ea88295d591eb390c7c2922b5fe7c02cdb61476

Comment by Githook User [ 07/Jun/18 ]

Author:

{'username': 'rcsanchez97', 'name': 'Roberto C. Sánchez', 'email': 'roberto@connexer.com'}

Message: CDRIVER-2673 fix libbson/libmongoc file names and SONAME
Branch: r1.10
https://github.com/mongodb/mongo-c-driver/commit/71be51ff047b4135624e3aac0a7d8b4266abe2b7

Comment by Githook User [ 06/Jun/18 ]

Author:

{'username': 'ajdavis', 'name': 'A. Jesse Jiryu Davis', 'email': 'jesse@mongodb.com'}

Message: CDRIVER-2673 test to verify installed lib name
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/567bf774aa072ef90db2b2eea6c44304384e6577

Comment by Githook User [ 31/May/18 ]

Author:

{'username': 'rcsanchez97', 'name': 'Roberto C. Sánchez', 'email': 'roberto@connexer.com'}

Message: CDRIVER-2673 fix libbson/libmongoc file names and SONAME
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/670044612410120833074d6ee6bd1f4ad359fda2

Comment by A. Jesse Jiryu Davis [ 30/May/18 ]

Once we merge this, I'll write Evergreen shell scripts to verify the installed shared libs' names and SONAMEs match what we had built with the Autotools in 1.9.x and earlier.

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