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

missing mariadb libraries in k8s deployment #57

Open
tctlrd opened this issue Jan 1, 2024 · 1 comment
Open

missing mariadb libraries in k8s deployment #57

tctlrd opened this issue Jan 1, 2024 · 1 comment
Assignees
Labels
bug Something isn't working setup Build, Packaging and other setup-related issues

Comments

@tctlrd
Copy link

tctlrd commented Jan 1, 2024

I was getting a failing error when trying to connect to a mariadb until I added mariadb-dev to the second apk add command in the Dockerfile.
ImportError: libmariadb.so.3: cannot open shared object file: No such file or directory
I checked and the libmariadb libraries were missing from /usr/lib in the container.
So I added mariadb-dev to the second apk add command in the Dockerfile and everything worked:
https://github.com/tctlrd/gnucash-web/blob/main/Dockerfile#L23

@joshuabach
Copy link
Owner

joshuabach commented Jan 7, 2024

Happens when you only test PostreSQL ;-) Thanks.

Do you know why this is required? As far as I understand it, everything needed to connect to a remote mariadb instance should be in the client package, no?

See https://wiki.alpinelinux.org/wiki/MariaDB.

@joshuabach joshuabach self-assigned this Jan 7, 2024
@joshuabach joshuabach added bug Something isn't working setup Build, Packaging and other setup-related issues labels Jan 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working setup Build, Packaging and other setup-related issues
Projects
None yet
Development

No branches or pull requests

2 participants