You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
0: cargo_pgx::command::schema::generate_schema with pg_version=15.7 profile=Dev test=false path=/var/lib/postgresql/.pgx/15.7/pgx-install/share/extension/prometheus_fdw--0.1.5.sql features=["pg15"]
at /var/lib/postgresql/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cargo-pgx-0.7.4/src/command/schema.rs:172
1: cargo_pgx::command::install::install_extension with pg_version=15.7 profile=Dev test=false features=["pg15"]
at /var/lib/postgresql/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cargo-pgx-0.7.4/src/command/install.rs:94
2: cargo_pgx::command::run::run with pg_version=15.7 profile=Dev
at /var/lib/postgresql/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cargo-pgx-0.7.4/src/command/run.rs:94
3: cargo_pgx::command::run::execute
at /var/lib/postgresql/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cargo-pgx-0.7.4/src/command/run.rs:55
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
The text was updated successfully, but these errors were encountered:
Hello, i am trying to use your prometheus_fdw but running into this.. These are the steps in followed
a) I am on Ubuntu 20.04
I am running it as a Postgres user, i tried root too with same error.
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
. "$HOME/.cargo/env"
cargo install --locked cargo-pgrx --force
cargo pgrx init
git clone https://github.com/tembo-io/prometheus_fdw.git
cd prometheus_fdw cargo pgx run pg15
Installing extension
Copying control file to /var/lib/postgresql/.pgx/15.7/pgx-install/share/extension/prometheus_fdw.control
Copying shared library to /var/lib/postgresql/.pgx/15.7/pgx-install/lib/prometheus_fdw.so
Discovering SQL entities
Discovered 0 SQL entities: 0 schemas (0 unique), 0 functions, 0 types, 0 enums, 0 sqls, 0 ords, 0 hashes, 0 aggregates, 0 triggers
The application panicked (crashed).
Message: Couldn't call __pgx_marker: DlSym { desc: "/var/lib/postgresql/prometheus_fdw/target/debug/libprometheus_fdw.so: undefined symbol: __pgx_marker" }
Location: /var/lib/postgresql/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cargo-pgx-0.7.4/src/command/schema.rs:415
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ SPANTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
0: cargo_pgx::command::schema::generate_schema with pg_version=15.7 profile=Dev test=false path=/var/lib/postgresql/.pgx/15.7/pgx-install/share/extension/prometheus_fdw--0.1.5.sql features=["pg15"]
at /var/lib/postgresql/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cargo-pgx-0.7.4/src/command/schema.rs:172
1: cargo_pgx::command::install::install_extension with pg_version=15.7 profile=Dev test=false features=["pg15"]
at /var/lib/postgresql/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cargo-pgx-0.7.4/src/command/install.rs:94
2: cargo_pgx::command::run::run with pg_version=15.7 profile=Dev
at /var/lib/postgresql/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cargo-pgx-0.7.4/src/command/run.rs:94
3: cargo_pgx::command::run::execute
at /var/lib/postgresql/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cargo-pgx-0.7.4/src/command/run.rs:55
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
The text was updated successfully, but these errors were encountered: