[HACKERS] Linking libpq statically to libssl
От
Daniele Varrazzo
Тема
[HACKERS] Linking libpq statically to libssl
Дата
Msg-id
CA+mi_8YjGC9DvHqMhYufcOdXEzJcNUoTYA-O_vuEL5u6o0yFUA@mail.gmail.com
Список
Дерево обсуждения
[HACKERS] Linking libpq statically to libssl Daniele Varrazzo <daniele.varrazzo@gmail.com>
Re: [HACKERS] Linking libpq statically to libssl Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Linking libpq statically to libssl Daniele Varrazzo <daniele.varrazzo@gmail.com>
Re: [HACKERS] Linking libpq statically to libssl Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] Linking libpq statically to libssl Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] Linking libpq statically to libssl Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] Linking libpq statically to libssl Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] Linking libpq statically to libssl Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Hello, I have a problem building binary packages for psycopg2. Binary packages ship with their own copies of libpq and libssl; however if another python package links to libssl the library will be imported twice with conflicting symbols, likely resulting in a segfault (see https://github.com/psycopg/psycopg2/issues/543). This happens e.g. if a python script both connects to postgres and opens an https resource. A solution to work around the problem could be to change libssl symbols names, in the binaries or in the source code (https://github.com/psycopg/psycopg2-wheels/issues/7). But maybe a simpler workaround could be just to build libpq linking to libssl statically. Is this possible? ...and other libs too I guess, because the problem was found on libssl but conflicts with other libs is possible too, ldap comes to mind... Any help to solve the problem would be appreciated. Thank you very much. -- Daniele -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
В списке pgsql-hackers по дате отправления
От: Thomas Kellerer
Дата: