Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build with FreeBSD #313

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Fix build with FreeBSD #313

wants to merge 1 commit into from

Conversation

mfechner
Copy link

@mfechner mfechner commented Mar 7, 2024

This fixes the build for FreBSD 13.2, 13.3, 14.0 and maybe also for 15.

linking shared-object pg_query/pg_query.so
ld: error: version script assignment of 'global' to symbol '_Init_pg_query' failed: symbol not defined
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

This fixes the build for FreBSD 13.2, 13.3, 14.0 and maybe also for 15.
```
linking shared-object pg_query/pg_query.so
ld: error: version script assignment of 'global' to symbol '_Init_pg_query' failed: symbol not defined
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1
```
freebsd-git pushed a commit to freebsd/freebsd-ports that referenced this pull request Mar 7, 2024
freebsd-git pushed a commit to freebsd/freebsd-ports that referenced this pull request Mar 8, 2024
I reported this fix also upstream:
pganalyze/pg_query#313

PR:		277535
(cherry picked from commit 44edb6f)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant