I am creating an ODBC driver (which is, by nature, distributed as a shared library) and don't want the users to have to find and install all of the dependencies.
Looking at how I might statically link a .so shared library with its dependencies, I came across this answer which gives a solution which reads in part:
(Also be aware that mixing dynamically and shared libraries is probably not a good idea. You may end up with the combined disadvantages, which goes against your idea of simplification. However, I do not know the whole picture. Just an opinion.)
Is this a good use case for following the instructions in the answer and statically linking the shared library's dependencies?