Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Only upgrading to ubuntu 20.04 instead of directly to 22.04 to maintain compatibility with 20.04 in our binary builds.
I chose to create a .deb rather than directly mashing the files into /usr/lib so that:
Alternatives:
1
Publish packages somewhere and wget them like we do currently with the datastax packages.
I didnt take this approach as we need somewhere to host them and it is a lot of extra work to package them every time a new release occurs that we want to use.
2
Annoy datastax into publishing packages for a modern ubuntu.
Not sure if they care enough about the cpp driver for that, and even if they did, we would still need to reannoy them in the future when a new ubuntu comes out.
3
Force installation of the 18.04 package onto a modern ubuntu.
I tested this and it doesnt work at all.
We can succesfully install the package with
dpkg --force-install -i ...
.However when we try to build the project it fails with linker errors.
References: