Building ngx_postgres module as dynamic

Andrew Hutchings ahutchings at nginx.com
Thu May 5 15:56:03 UTC 2016


Hi,

On 05/05/16 16:01, npyxg1mg2kn7dvk0rl06 wrote:
> I made appropriative changes and now I have undefined symbol: PQsendQuery on module loading. Not sure if PQsendQuery  even should be linked.
> https://github.com/cryptofuture/ngx_postgres - repo with changes, in case someone will be charitable enough to look into.
> Also I discussed making module dynamic with dev, but looks like he just waiting for incoming pull requests.

Judging by a quick look at your work the problem appears to be that you 
are linking NGINX against libpq instead of the module.

Kind Regards
-- 
Andrew Hutchings (LinuxJedi)
Technical Product Manager, NGINX Inc.



More information about the nginx-devel mailing list