![](https://secure.gravatar.com/avatar/c1d1a92af71a5bbcc4c54fd1a2c19e84.jpg?s=120&d=mm&r=g)
Hi all, the output of "mariadb_config --libs[_r]" is faulty if the AUTH_GSSAPI plugin is configured as static: I built mariadb-connector-c 3.0.2 on Fedora 26 with this command: mkdir build cd build cmake -DAUTH_GSSAPI=STATIC .. make The output of "mariadb_config" then looks like this: $ mariadb_config/mariadb_config --libs_r -L/usr/local/lib/mariadb/ -lmariadb -lpthread -ldl -lm -lssl -lcrypto -l-lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err All libs should be named like "-l<name>" but gssapi_krb5 has a double "-l-l" prefix. This problems becomes more apparent when I build mariadb-connector-c as a Python Conda package. Without the "AUTH_GSSAPI=STATIC" flag, I get the following libs: -L/opt/emsconda/conda-bld/mariadb-connector-c/env/lib/ -lmariadb -lpthread -ldl -lm -lssl -lcrypto With the "AUTH_GSSAPI=STATIC" flag, I get the following libs: -L/opt/emsconda/conda-bld/mariadb-connector-c/env/lib/ -lmariadb -lpthread -ldl -lm -lssl -lcrypto -l-L/opt/emsconda/conda-bld/mariadb-connector-c/envplaceho/lib -Wl,--enable-new-dtags -Wl,-rpath -Wl,/opt/emsconda/conda-bld/mariadb-connector-c/envplaceho/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err The problematic part there is the "-l-L/opt/emsconda/.../lib" part which confuses other tools like Mydumper when they are compiled against mariadb-connector-c. Is this an issue with mariadb-connector-c or can I fix it in my build process somehow? Cheers, Stefan