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

   I'm trying to use the adbc library in Python 3.11 to interact with a 
PostgreSQL database, but I'm encountering an error related to the 
adbc_driver_postgresql module. The error message provided suggests that there's 
an issue with the PostgreSQL driver initialization.
   
   ```
   adbc_driver_manager.InternalError: INTERNAL: dlsym(AdbcDriverPostgresqlInit) 
failed: 
/home/arrow-adbc/python/adbc_driver_postgresql/adbc_driver_postgresql/libadbc_driver_postgresql.so:
 undefined symbol: AdbcDriverPostgresqlInit
   ```
   
   Snippet that I used to reproduce the problem is 
   
   ```
   import adbc_driver_sqlite.dbapi
   
   with adbc_driver_sqlite.dbapi.connect() as conn:
       with conn.cursor() as cur:
           cur.execute("SELECT 1")
           print(cur.fetch_arrow_table())
   ```
   
   In my env there are the following deps
   
   ```
   adbc-driver-manager    0.7.0
   adbc-driver-postgresql 0.7.0
   numpy                  1.26.1
   pip                    23.3
   pyarrow                12.0.0
   setuptools             68.0.0
   wheel                  0.41.2
   ```
   
   and I bootstrap postgresql with 
   ```shell
   $ docker run -it --rm \
       -e POSTGRES_PASSWORD=password \
       -e POSTGRES_DB=tempdb \
       -p 5432:5432 \
       postgres
   ```
   
   Can you please suggest some actions to continue with my experiments?


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to