Skip to content

Oracle Linux mysql library path - #222

Closed
cursor[bot] wants to merge 2 commits into
mainfrom
cursor/oracle-linux-mysql-library-path-6128
Closed

cursor[bot] wants to merge 2 commits into
mainfrom
cursor/oracle-linux-mysql-library-path-6128

Conversation

@cursor

@cursor cursor Bot commented Feb 19, 2026

Copy link
Copy Markdown

Bare minimum self-checks

What do you think of a person who only does the bare minimum?

  • I've updated this PR with the latest code from main
  • I've done a cursory QA pass of my code locally
  • I've ensured all automated status check and tests pass
  • I've connected this PR to an issue

Pieces of flare

  • I've written a unit or functional test for my code
  • I've updated relevant documentation it my code changes it
  • I've updated this repo's README if my code changes it
  • I've updated this repo's CHANGELOG with my change unless its a trivial change (like updating a typo in the docs)

Finally

If you have any issues or need help please join the #contributors channel in the Lando slack and someone will gladly help you out!

You can also check out the coder guide.


Description

This PR fixes a bug where the COPY command for libmysqlclient.so in the 8.3, 8.4, and 8.5 apache and fpm Dockerfiles used an incorrect library path. The original glob pattern /usr/lib/*-linux-gnu/libmysqlclient.so* is for Debian multiarch systems, but the base MySQL images (mysql:8.0, mysql:8.4) are Oracle Linux-based, which store 64-bit libraries in /usr/lib64/.

The fix updates the glob pattern to /usr/lib64/libmysqlclient.so* to correctly locate and copy the necessary MySQL client shared libraries, preventing potential build failures or runtime issues due to missing dependencies.


AaronFeledy and others added 2 commits February 19, 2026 07:26
Changed /usr/lib/*-linux-gnu/ to /usr/lib64/ in COPY commands.
MySQL Docker images use Oracle Linux which stores 64-bit libraries
in /usr/lib64/, not Debian's multiarch /usr/lib/*-linux-gnu/ layout.

Fixes: 8.3-apache, 8.4-apache, 8.5-apache, 8.3-fpm, 8.4-fpm, 8.5-fpm
@cursor

cursor Bot commented Feb 19, 2026

Copy link
Copy Markdown
Author

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

Base automatically changed from fix/mysql-client-runtime to main February 19, 2026 13:42
@cursor

cursor Bot commented Feb 19, 2026

Copy link
Copy Markdown
Author

Automatically closed this PR because it was created by Bugbot autofix for #221, and that PR was closed.

@cursor cursor Bot closed this Feb 19, 2026
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.

2 participants