[Pkg-postgresql-public] Missing dependencies in postgresql-9.5-mysql-fdw.deb

Christoph Berg myon at debian.org
Fri May 20 14:37:24 UTC 2016


Re: Lev Dragunov 2016-05-12 <CABF2=G4Sg5SDt2Ry82Jt125X3YPvB4xdNJ4uYbovM2MTZG0fHQ at mail.gmail.com>
> When I installed postgresql-9.5-mysql-fdw.deb version 2.1.2-1.pgdg16.04+1
> I can't create mysql_fdw extension with message that ld not found
> libmysqlclient.so.
> libmysqlclient-dev package installation solved this problem. Please add
> this package to the dependencies.

Hi,

thanks for spotting, I've fixed the problem in git. I'll upload a new
version soonish.

Fwiw the reason this hasn't been catched by the usual dpkg-shlibsdeps
magic is that libmysqlclient.so is dlopen()ed at runtime. The need to
do that because PostgreSQL and MySQL are apparently providing
conflicting symbols and dlopen resolves that.

Christoph



More information about the Pkg-postgresql-public mailing list