Travis Allison <travisallison@gmail.com> writes:
> I suppose an easy workaround is to copy my version 9.6 pg_config.h into my
> user/include/postgresql directory and replace the one installed by
> libpq-dev.
> Can you think of any detrimental side-effects from doing that?
I would not recommend that: it's likely to break code that's expecting
the Ubuntu-standard layout. I think your best course is to adapt the
particular package you're having trouble with to work with that layout.
Maybe contact its author for help?
regards, tom lane