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

From: TalGloz <glozmantal(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Linker errors while creating a PostgreSQL C extension function.
Date: 2018-08-19 12:46:30
Message-ID: 1534682790440-0.post@n3.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

OK, I've changed my line to
LDFLAGS = -L$(INCLUDE_SEAL_LIB) -lseal -lpthread

In my Makefile this command is written like this (line numbers are just for
orientation)

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

Or do you mean that it suppose to be like that?

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

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dmitry Igrishin 2018-08-19 12:57:07 Re: Linker errors while creating a PostgreSQL C extension function.
Previous Message Dmitry Igrishin 2018-08-19 12:24:26 Re: Linker errors while creating a PostgreSQL C extension function.