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

   ### What happened?
   
   When I use the latest 1.8.0 conda build of the driver manager, it looks like 
it wasn't built with support for CONDA_PREFIX:
   
   >    not enabled at build time: Conda prefix
   
   This is how I reproduced it:
   
   ```
   $ conda create -n my-adbc-project
   $ conda activate my-adbc-project
   $ conda install -c conda-forge adbc-driver-manager
   $ python
   >>> from adbc_driver_manager import dbapi
   >>> dbapi.connect(driver="anything")
   Traceback (most recent call last):
     File "<python-input-1>", line 1, in <module>
       dbapi.connect(driver="anything")
       ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
     File 
"/opt/homebrew/Caskroom/miniforge/base/envs/my-adbc-project/lib/python3.13/site-packages/adbc_driver_manager/dbapi.py",
 line 227, in connect
       db = _lib.AdbcDatabase(**db_kwargs)
     File "adbc_driver_manager/_lib.pyx", line 582, in 
adbc_driver_manager._lib.AdbcDatabase.__init__
     File "adbc_driver_manager/_lib.pyx", line 261, in 
adbc_driver_manager._lib.check_error
   adbc_driver_manager.ProgrammingError: NOT_FOUND: [Driver Manager] dlopen() 
failed: dlopen(anything, 0x0006): tried: 'anything' (no such file), 
'/System/Volumes/Preboot/Cryptexes/OSanything' (no such file), 
'/opt/homebrew/Caskroom/miniforge/base/envs/my-adbc-project/lib/python3.13/site-packages/adbc_driver_manager/../../../anything'
 (no such file), 
'/opt/homebrew/Caskroom/miniforge/base/envs/my-adbc-project/lib/python3.13/site-packages/adbc_driver_manager/anything'
 (no such file), 
'/opt/homebrew/Caskroom/miniforge/base/envs/my-adbc-project/bin/../lib/anything'
 (no such file), '/usr/lib/anything' (no such file, not in dyld cache), 
'anything' (no such file), '/usr/local/lib/anything' (no such file), 
'/usr/lib/anything' (no such file, not in dyld cache)
   dlopen() failed: dlopen(libanything.dylib, 0x0006): tried: 
'libanything.dylib' (no such file), 
'/System/Volumes/Preboot/Cryptexes/OSlibanything.dylib' (no such file), 
'/opt/homebrew/Caskroom/miniforge/base/envs/my-adbc-project/lib/python3.13/site-packages/adbc_driver_manager/../../../libanything.dylib'
 (no such file), 
'/opt/homebrew/Caskroom/miniforge/base/envs/my-adbc-project/lib/python3.13/site-packages/adbc_driver_manager/libanything.dylib'
 (no such file), 
'/opt/homebrew/Caskroom/miniforge/base/envs/my-adbc-project/bin/../lib/libanything.dylib'
 (no such file), '/usr/lib/libanything.dylib' (no such file, not in dyld 
cache), 'libanything.dylib' (no such file), '/usr/local/lib/libanything.dylib' 
(no such file), '/usr/lib/libanything.dylib' (no such file, not in dyld cache)
   Also searched these paths for manifests:
        not set: ADBC_DRIVER_PATH
        not enabled at build time: Conda prefix
        user config dir: /Users/bryce/Library/Application Support/ADBC/Drivers
        does not exist: /Library/Application Support/ADBC/Drivers
   ```
   
   The version of the package I used was:
   
   `adbc-driver-manag~ 
conda-forge/osx-arm64::adbc-driver-manager-1.8.0-py313h0e822ff_0.`
   
   ### Stack Trace
   
   _No response_
   
   ### How can we reproduce the bug?
   
   _No response_
   
   ### Environment/Setup
   
   _No response_


-- 
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