Re: Pgxs - How to reference another extension
От | Michał Kłeczek |
---|---|
Тема | Re: Pgxs - How to reference another extension |
Дата | |
Msg-id | 98BD6A59-DD01-4F6B-8468-8C44B8C81878@kleczek.org обсуждение исходный текст |
Ответ на | Pgxs - How to reference another extension (Michał Kłeczek <michal@kleczek.org>) |
Ответы |
Re: Pgxs - How to reference another extension
|
Список | pgsql-general |
> On 11 Mar 2024, at 11:41, Michał Kłeczek <michal@kleczek.org> wrote: > > Hi, > > I am trying to create an extension that delegates some calls to btree_gist functions: > > DirectFunctionCall5Coll( > gbt_text_consistent, …other arguments); > > Basic PGXS Makefile does not work - I get linker error: > > Undefined symbols for architecture arm64: > "_gbt_text_consistent", referenced from: > > > Anyone could provide me with some hints? I’ve added: PG_LDFLAGS += -L$(shell $(PG_CONFIG) --pkglibdir) -lbtree_gist to Makefile and I get the following: ld: library 'btree_gist' not found clang: error: linker command failed with exit code 1 (use -v to see invocation) Note that I am on Mac and btree_gist.dylib is present in $(pg_config —pkglibdir) — Michal
В списке pgsql-general по дате отправления: