Skip to content

Conversation

@lidavidm
Copy link
Member

@lidavidm lidavidm commented Sep 2, 2025

Fixes #3223.

@lidavidm lidavidm marked this pull request as ready for review September 3, 2025 01:10
@github-actions github-actions bot added this to the ADBC Libraries 20 milestone Sep 3, 2025
@ianmcook
Copy link
Member

ianmcook commented Sep 3, 2025

For the kUnset cases, can we split up the logic to separate out the "not set" cases from the "does not exist" cases, and give them separate error messages?

@lidavidm
Copy link
Member Author

lidavidm commented Sep 3, 2025

Updated:

[Driver Manager] dlopen() failed: nosuchdriver: cannot open shared object file: No such file or directory
dlopen() failed: libnosuchdriver.so: cannot open shared object file: No such file or directory
Also searched these paths for manifests:
	not set: ADBC_DRIVER_PATH
	not enabled at build time: Conda prefix
	does not exist: /home/lidavidm/.config/adbc/drivers
	does not exist: /etc/adbc/drivers

Copy link
Member

@amoeba amoeba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is really great, thanks.

Looks like the CI failures need attention (anonymous-namespace'::ManagedLibrary::Load': function does not take 2 arguments) before merge.

@lidavidm lidavidm merged commit e4404e7 into apache:main Sep 4, 2025
70 checks passed
@lidavidm lidavidm deleted the gh-3223 branch September 4, 2025 04:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

c/driver_manager: provide more context about driver load failures

3 participants