You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "WillAyd (via GitHub)" <gi...@apache.org> on 2025/04/22 18:53:23 UTC
[PR] fix(c): Add libdl as dependency of driver manager in Meson [arrow-adbc]
WillAyd opened a new pull request, #2735:
URL: https://github.com/apache/arrow-adbc/pull/2735
Not sure how this was working before, but on main I get the following issues without this:
```
adbc_driver_manager.cc:(.text.AdbcLoadDriver+0xbe): undefined reference to `dlopen'
/home/willayd/miniforge3/envs/pandas-dev/bin/../lib/gcc/x86_64-conda-linux-gnu/13.3.0/../../../../x86_64-conda-linux-gnu/bin/ld: adbc_driver_manager.cc:(.text.AdbcLoadDriver+0xf8): undefined reference to `dlsym'
/home/willayd/miniforge3/envs/pandas-dev/bin/../lib/gcc/x86_64-conda-linux-gnu/13.3.0/../../../../x86_64-conda-linux-gnu/bin/ld: adbc_driver_manager.cc:(.text.AdbcLoadDriver+0x33e): undefined reference to `dlsym'
/home/willayd/miniforge3/envs/pandas-dev/bin/../lib/gcc/x86_64-conda-linux-gnu/13.3.0/../../../../x86_64-conda-linux-gnu/bin/ld: adbc_driver_manager.cc:(.text.AdbcLoadDriver+0x43b): undefined reference to `dlerror'
/home/willayd/miniforge3/envs/pandas-dev/bin/../lib/gcc/x86_64-conda-linux-gnu/13.3.0/../../../../x86_64-conda-linux-gnu/bin/ld: adbc_driver_manager.cc:(.text.AdbcLoadDriver+0x6b0): undefined reference to `dlopen'
/home/willayd/miniforge3/envs/pandas-dev/bin/../lib/gcc/x86_64-conda-linux-gnu/13.3.0/../../../../x86_64-conda-linux-gnu/bin/ld: adbc_driver_manager.cc:(.text.AdbcLoadDriver+0xab6): undefined reference to `dlerror'
/home/willayd/miniforge3/envs/pandas-dev/bin/../lib/gcc/x86_64-conda-linux-gnu/13.3.0/../../../../x86_64-conda-linux-gnu/bin/ld: adbc_driver_manager.cc:(.text.AdbcLoadDriver+0xd34): undefined reference to `dlerror'
/home/willayd/miniforge3/envs/pandas-dev/bin/../lib/gcc/x86_64-conda-linux-gnu/13.3.0/../../../../x86_64-conda-linux-gnu/bin/ld: adbc_driver_manager.cc:(.text.AdbcLoadDriver+0xfbe): undefined reference to `dlerror'
/home/willayd/miniforge3/envs/pandas-dev/bin/../lib/gcc/x86_64-conda-linux-gnu/13.3.0/../../../../x86_64-conda-linux-gnu/bin/ld: adbc_driver_manager.cc:(.text.AdbcLoadDriver+0x108f): undefined reference to `dlsym'
/home/willayd/miniforge3/envs/pandas-dev/bin/../lib/gcc/x86_64-conda-linux-gnu/13.3.0/../../../../x86_64-conda-linux-gnu/bin/ld: adbc_driver_manager.cc:(.text.AdbcLoadDriver+0x1148): undefined reference to `dlerror'
collect2: error: ld returned 1 exit status
```
--
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: [PR] fix(c): Add libdl as dependency of driver manager in Meson [arrow-adbc]
Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm merged PR #2735:
URL: https://github.com/apache/arrow-adbc/pull/2735
--
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: [PR] fix(c): Add libdl as dependency of driver manager in Meson [arrow-adbc]
Posted by "WillAyd (via GitHub)" <gi...@apache.org>.
WillAyd commented on PR #2735:
URL: https://github.com/apache/arrow-adbc/pull/2735#issuecomment-2822287910
Ah OK - I see this is required when using the `compilers` package in a conda environment. Looks like the system installed compiler provides this anyway, but the conda one needs this extra dependency
Per Meson docs:
> Provides access to the dynamic link interface (functions: dlopen, dlclose, dlsym and others). On systems where this is not built into libc (mostly glibc < 2.34), tries to find an external library providing them instead.
https://mesonbuild.com/Dependencies.html#dl-libdl
--
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