-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Add hack to force mysqlnd extension to be loaded first to avoid missing symbol errors. #9822
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
base: master
Are you sure you want to change the base?
Conversation
…ng symbol errors.
btw, does anyone know where a message can be added to ./configure output ? The issue is that when mysqlnd and mysqli are loaded as shared modules, the order matters, which is not obvious to end-users. |
Forgot to say, the behaviour can be seen by
And then run Without the patch the tests fail due to being unable to load the mysqli and pdo_mysql extensions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your approach is fine too.
Co-authored-by: Markus Staab <maggus.staab@googlemail.com>
How many symbols are we talking about, by the way? I think having optional zend module dependencies with runtime resolution of symbols should fix this properly in core, but I haven't dug in to see. |
No idea. Loading the .so file fails on the first missing symbol.
tbh, I have no idea what you mean. |
Addresses #9727