Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MacOS: fail to run unit test #4187

Closed
wcy-fdu opened this issue Feb 16, 2024 · 2 comments
Closed

MacOS: fail to run unit test #4187

wcy-fdu opened this issue Feb 16, 2024 · 2 comments

Comments

@wcy-fdu
Copy link
Contributor

wcy-fdu commented Feb 16, 2024

= note: ld: library 'fdb_c' not found
          clang: error: linker command failed with exit code 1 (use -v to see invocation)
          

error: could not compile `opendal` (lib test) due to previous error

I can run cargo build but fail to run unit test, do I need to add FoundationDB C lib manually?

@Xuanwo
Copy link
Member

Xuanwo commented Feb 16, 2024

I can run cargo build but fail to run unit test, do I need to add FoundationDB C lib manually?

I'm guessing you are running tests with all-features enabled. This requires you to make sure all services setup correctly.

@wcy-fdu
Copy link
Contributor Author

wcy-fdu commented Feb 16, 2024

Right, vscode will automatically running tests with all-features enabled.

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

No branches or pull requests

2 participants