It seems there was been a symbol versioning change in libmysqlclient that requires a rebuild of gdal: rawhide [~] % psql -c 'CREATE EXTENSION postgis' template_postgis ERROR: could not load library "/usr/lib64/pgsql/rtpostgis-2.2.so": /lib64/libgdal.so.20: symbol mysql_use_result, version libmysqlclient_16 not defined in file libmysqlclient.so.18 with link time reference
Note that this likely needs doing in F24 as well.
We had gdal builds on 2016-02-21. As far as I can see, that's after the latest update of mariadb.
Well something seems to be broken... I admit to being a bit confused because my examination of libmysqlclient.so.18 suggested it was exposing two versions of mysql_use_result, one versioned as libmysqlclient_18 and one versioned as libmysqlclient_16. That ought to mean that either version is available to the dynamic linker for symbol resolution at run time even if only the newer one is available for new links. Certainly ldd reports multiple problems if you ask it to check the relocations: rawhide [~] % ldd -r /lib64/libgdal.so.20 symbol mysql_use_result, version libmysqlclient_16 not defined in file libmysqlclient.so.18 with link time reference (/lib64/libgdal.so.20) symbol mysql_real_connect, version libmysqlclient_16 not defined in file libmysqlclient.so.18 with link time reference (/lib64/libgdal.so.20) symbol mysql_errno, version libmysqlclient_16 not defined in file libmysqlclient.so.18 with link time reference (/lib64/libgdal.so.20) symbol mysql_close, version libmysqlclient_16 not defined in file libmysqlclient.so.18 with link time reference (/lib64/libgdal.so.20) symbol mysql_init, version libmysqlclient_16 not defined in file libmysqlclient.so.18 with link time reference (/lib64/libgdal.so.20) symbol mysql_query, version libmysqlclient_16 not defined in file libmysqlclient.so.18 with link time reference (/lib64/libgdal.so.20) symbol mysql_free_result, version libmysqlclient_16 not defined in file libmysqlclient.so.18 with link time reference (/lib64/libgdal.so.20) symbol mysql_num_fields, version libmysqlclient_16 not defined in file libmysqlclient.so.18 with link time reference (/lib64/libgdal.so.20) symbol mysql_field_seek, version libmysqlclient_16 not defined in file libmysqlclient.so.18 with link time reference (/lib64/libgdal.so.20) I seem to have the latest gdal and mariadb-libs (though I first saw this in koji anyway): gdal-2.0.2-4.fc24.x86_64 mariadb-libs-10.1.11-8.fc24.x86_64
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle. Changing version to '25'.
Whatever caused this situation, the problem appears to be resolved in F24 and F25. Can we close it?
closing per comment #5