On Wed, 15 Feb 2017 22:39:04 +0100 Michael Prokop <m...@debian.org> wrote: > Package: libmariadbclient-dev > Version: 10.1.21-5 > Severity: serious > > [...] > > % grep Libs /usr/share/pkgconfig/mariadb.pc > Libs: -L${libdir} -lmysqlclient -lpthread -lz -lm -ldl > % grep mysqlclient /usr/bin/mysql_config > libs="-L$pkglibdir -lmysqlclient -lpthread -lz -lm -ldl" > > The hardcoded -lmysqlclient is wrong in this situation though: > > [...] > % gcc -o demo demo.c $(pkg-config --cflags mariadb) $(pkg-config --libs > mariadb) > /usr/bin/ld: cannot find -lmysqlclient > collect2: error: ld returned 1 exit status > > % gcc -o demo demo.c $(mysql_config --cflags) $(mysql_config --libs) > /usr/bin/ld: cannot find -lmysqlclient > collect2: error: ld returned 1 exit status > > [...] > > As an alternative/workaround installing the > default-libmysqlclient-dev + libmariadbclient-dev-compat packages > also fixes the problem with -lmysqlclient usage. > > This clearly shouldn't reach the stable stretch release as is, IMO. > > regards, > -mika- > >
Hi MariaDB maintainers, Any news on this bug? :) Thanks, ~Niels