You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "krlmlr (via GitHub)" <gi...@apache.org> on 2023/11/08 10:49:33 UTC

[I] r/driver/postgres: Use `pg_config` instead (or in addition to) `pkg-config` [arrow-adbc]

krlmlr opened a new issue, #1268:
URL: https://github.com/apache/arrow-adbc/issues/1268

   Installing the R package didn't work out of the box for me, @paleolimbot also seems to have challenges: https://github.com/apache/arrow-adbc/pull/161#issuecomment-1306104309
   
   I suspect this is due to `pkg-config libpq` not returning anything.
   
   I'm on macOS M1, installed libpq via Homebrew.
   
   RPostgres uses both `pkg-config` and `pg_config` : https://github.com/r-dbi/RPostgres/blob/main/configure#L19-L62
   
   I've also found this : https://github.com/psycopg/psycopg2/issues/1001#issuecomment-872888297


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] r/driver/postgres: Use `pg_config` instead (or in addition to) `pkg-config` [arrow-adbc]

Posted by "krlmlr (via GitHub)" <gi...@apache.org>.
krlmlr commented on issue #1268:
URL: https://github.com/apache/arrow-adbc/issues/1268#issuecomment-1802737723

   Thanks, works like a charm!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] r/driver/postgres: Use `pg_config` instead (or in addition to) `pkg-config` [arrow-adbc]

Posted by "paleolimbot (via GitHub)" <gi...@apache.org>.
paleolimbot commented on issue #1268:
URL: https://github.com/apache/arrow-adbc/issues/1268#issuecomment-1801833117

   Definitely! I'll take a stab at this shortly. My personal setup (also on libpq via homebrew on M1) uses 
   
   ```
   PKG_CONFIG_PATH=/opt/homebrew/Cellar/libpq/16.0/lib/pkgconfig:/opt/homebrew/Cellar/openssl@3/3.1.3/lib/pkgconfig
   ```
   
   ...in ~/.Renviron, but `pg_config` sounds like less of a hack!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] r/driver/postgres: Use `pg_config` instead (or in addition to) `pkg-config` [arrow-adbc]

Posted by "paleolimbot (via GitHub)" <gi...@apache.org>.
paleolimbot closed issue #1268: r/driver/postgres: Use `pg_config` instead (or in addition to) `pkg-config`
URL: https://github.com/apache/arrow-adbc/issues/1268


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org