Am 05.10.2019 um 23:10 schrieb Christoph Zwerschke:
Just tried what you did with that t.c program, but strangely I get the "undefined symbol" error when I downgrade libpq and run "./t 0", even when LD_BIND_NOW is not defined. I am using Ubuntu instead of Debian, but that shouldn't matter.
Ok, found the problem - I needed to explicitly add the "-Wl,-z,lazy" option when compiling t.c to make it use lazy binding. For some strange reason, it does not seem to be the default.
Maybe we need to add this to the extra_compile_args in the setup.py file as well?
-- Christoph _______________________________________________ PyGreSQL mailing list [email protected] https://mail.vex.net/mailman/listinfo/pygresql
