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

From Dmitry Igrishin
Subject Re: Linker errors while creating a PostgreSQL C extension function.
Date
Msg-id CAAfz9KPXaBsMuEE-tvL1dnx9PXVopYc2SLVZL8B9nCzyasn4iA@mail.gmail.com
Whole thread Raw
In response to Re: Linker errors while creating a PostgreSQL C extension function.  (TalGloz <glozmantal@gmail.com>)
Responses Re: Linker errors while creating a PostgreSQL C extension function.
List pgsql-general
вс, 19 авг. 2018 г. в 15:59, TalGloz <glozmantal@gmail.com>:
>
> No, they still don't appear there and same errors are shown.
Try to refactor your Makefile like this:
LDFLAGS=-L$(INCLUDE_SEAL_LIB)
LDLIBS=-lseal -lpthread

seal_diff_cpp.so: seal_diff_cpp.o
        $(CXX) -Wl,--no-undefined -shared -o seal_diff_cpp.so
$(LDFLAGS) $(LDLIBS) seal_diff_cpp.o


pgsql-general by date:

Previous
From: TalGloz
Date:
Subject: Re: Linker errors while creating a PostgreSQL C extension function.
Next
From: TalGloz
Date:
Subject: Re: Linker errors while creating a PostgreSQL C extension function.