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

From: Dmitry Igrishin <dmitigr(at)gmail(dot)com>
To: Tal Glozman <glozmantal(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Linker errors while creating a PostgreSQL C extension function.
Date: 2018-08-19 13:09:49
Message-ID: CAAfz9KPXaBsMuEE-tvL1dnx9PXVopYc2SLVZL8B9nCzyasn4iA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

вс, 19 авг. 2018 г. в 15:59, TalGloz <glozmantal(at)gmail(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message TalGloz 2018-08-19 13:20:20 Re: Linker errors while creating a PostgreSQL C extension function.
Previous Message TalGloz 2018-08-19 12:58:40 Re: Linker errors while creating a PostgreSQL C extension function.