Re: Linker errors while creating a PostgreSQL C extension function.

Поиск
Список
Период
Сортировка
От TalGloz
Тема Re: Linker errors while creating a PostgreSQL C extension function.
Дата
Msg-id 1535228619331-0.post@n3.nabble.com
обсуждение исходный текст
Ответ на Re: Linker errors while creating a PostgreSQL C extension function.  (Laurenz Albe <laurenz.albe@cybertec.at>)
Список pgsql-general
I removed the flag --no-undefined and it was compiled and worked like a
charm. I needed the flag to spot the linker errors for linking with the
external *libseal.a* library.

As for my other question regarding the unused linker path
*-L"/usr/local/lib"*. I'm using Fedora 28 (RedHat) and in this distribution
the default path for libs is /usr/lib64, so I can use this setting or change
it to include the */usr/local/lib* path as well.

Best regards,
Tal




--
Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html


В списке pgsql-general по дате отправления:

Предыдущее
От: Gary M
Дата:
Сообщение: Re: unorthodox use of PG for a customer
Следующее
От: Andrew Stuart
Дата:
Сообщение: How can I use Postgres "ROLLBACK TO SAVEPOINT" with "FOR UPDATE SKIP LOCKED"?