Opened 3 years ago
Closed 3 years ago
#4964 closed defect (fixed)
undefined symbol: protobuf_c_version
Reported by: | strk | Owned by: | strk |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 3.2.0 |
Component: | build | Version: | master |
Keywords: | Cc: |
Description
In absence of pkg-config, the check for protobuf fails to add -lprotoc to LDCONFIG
Change History (7)
comment:1 by , 3 years ago
comment:3 by , 3 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
But we require pkg-config for PostGIS 3.2 I thought
This broke my windows build -- see #4977
comment:4 by , 3 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Okay I might have been mistaken. Reverting this didn't seem to fix my issue or I'm missing something else.
comment:5 by , 3 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
okay I think it is this that broke it but only part of it. So reopening.
comment:7 by , 3 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Note:
See TracTickets
for help on using tickets.
The problem is not LDFLAGS, but PROTOBUF_LDFLAGS being undefined, when pkg-config is not installed. The PROTOBUF_LDFLAGS variable is used to define SHLIB_LINK, which is then used in postgis/Makefile.in
Beside, SHLIB_LINK, although very important, is NOT printed by ./configure output, which prints LDFLAGS instead, not very useful thing to do