Re: Linker errors while creating a PostgreSQL C extension function. - Mailing list pgsql-general

From TalGloz
Subject Re: Linker errors while creating a PostgreSQL C extension function.
Date
Msg-id 1535228619331-0.post@n3.nabble.com
Whole thread Raw
In response to Re: Linker errors while creating a PostgreSQL C extension function.  (Laurenz Albe <laurenz.albe@cybertec.at>)
List 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 by date:

Previous
From: Gary M
Date:
Subject: Re: unorthodox use of PG for a customer
Next
From: Andrew Stuart
Date:
Subject: How can I use Postgres "ROLLBACK TO SAVEPOINT" with "FOR UPDATE SKIP LOCKED"?