Hi,

On Mon, 14 Oct 2024 at 15:27, Even Rouault via gdal-dev <
gdal-dev@lists.osgeo.org> wrote:

> So probably the most sane solution would be
> to have a dynamic library libgdal.so that statically links its
> dependencies, but with all GDAL public symbols renamed. Quite an
> adventure...


It would be, except there's a fairly critical problem: GDAL links
(directly, and via proj, etc) to libcurl which links to OpenSSL on Linux.
But Python/libpython links to OpenSSL too. The same issue applies with
SQLite too, except that it's structured to support existing multiple times
in a process. And you'll also encounter it with libpq & psycopg too if you
need PostgreSQL access from Python, since libpq links to OpenSSL as well.
Other DB libraries have the same problem.

Minefield!

Rob :)
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to