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

[libmariadb] Missing caching_sha2_password.so for Linux/MacOs build #18749

Closed
ludekvodicka opened this issue Jul 1, 2021 · 5 comments · Fixed by #18769
Closed

[libmariadb] Missing caching_sha2_password.so for Linux/MacOs build #18749

ludekvodicka opened this issue Jul 1, 2021 · 5 comments · Fixed by #18769
Assignees
Labels
category:port-bug The issue is with a library, which is something the port should already support

Comments

@ludekvodicka
Copy link
Contributor


There are missing dynamic files for libMariaDB in the case of build on Linux and MacOS.

MariaDB connector needs for example caching_sha2_password when connecting to MySQL 8.0. Without this file, MariaDB library returns error "Plugin caching_sha2_password could not be loaded: dlopen(PATH/caching_sha2_password.so.2) image not found

  • Windows: This file (together with others) is correctly built and installed for windows to "plugin" directory.
  • Linux: some of these files are built but not installed. Files can be found at `vcpkg/buildtrees/libmariadb/x64-linux-dbg/caching_sha2_password.so
  • MacOS: these files are completely missing and not build

I'm installing it via vcpkg install libmariadb

@JackBoosY JackBoosY changed the title [libmariadb ] Missing caching_sha2_password.so for Linux/MacOs build [libmariadb] Missing caching_sha2_password.so for Linux/MacOs build Jul 2, 2021
@JackBoosY
Copy link
Contributor

JackBoosY commented Jul 2, 2021

buildtrees/libmariadb/x64-osx-dbg/mysql_clear_password.so
buildtrees/libmariadb/x64-osx-dbg/caching_sha2_password.so
buildtrees/libmariadb/x64-osx-dbg/dialog.so
buildtrees/libmariadb/x64-osx-dbg/client_ed25519.so
buildtrees/libmariadb/x64-osx-dbg/sha256_password.so

The issues is not install them.
They are installed, but were removed when building static.
Wrong fix in #7396.

@JackBoosY JackBoosY added the category:port-bug The issue is with a library, which is something the port should already support label Jul 2, 2021
@JackBoosY
Copy link
Contributor

@ludekvodicka Can you please provide me the reproduce steps? I think we also need to patch the load plugin path.

Thanks.

@JackBoosY JackBoosY added the requires:more-information This Issue requires more information to solve label Jul 2, 2021
@JackBoosY
Copy link
Contributor

@ludekvodicka Ping for response.

@ludekvodicka
Copy link
Contributor Author

I believe it's already fixed. I already worked on this with someone else.

@JackBoosY
Copy link
Contributor

Okay, please reopen this PR when it happened again.

@JackBoosY JackBoosY removed the requires:more-information This Issue requires more information to solve label Jul 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants