Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

pg_config: command not found and missing magic block #11

Closed
@zheka-13

Description

@zheka-13

Hi,
When postgresql compiled from source and installed into default dirs pg_config not accessible from PATH. My suggestion below. One can easily change pg_config location in Makefile and there won't be no warnings.
I suggest to modify Makefile:

  1. Instead of
    PGXS := $(shell pg_config --pgxs)
    do
    PG_CONFIG = pg_config
    PGXS :=$(shell $(PG_CONFIG) --pgxs)
  2. Add OBJS = zson.o. I don't understand why it's removed. Without it i can compile extension but get error when try to install it
    incompatible library "/usr/local/pgsql/lib/zson.so": missing magic block

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp