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 1534684820114-0.post@n3.nabble.com
Whole thread Raw
In response to Re: Linker errors while creating a PostgreSQL C extension function.  (Dmitry Igrishin <dmitigr@gmail.com>)
Responses Re: Linker errors while creating a PostgreSQL C extension function.
List pgsql-general
I'll try it later when I'm home. Is there a reason that you are linking like
this

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

And not like this?

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



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


pgsql-general by date:

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