Opened 2 months ago
Last modified 2 months ago
#72323 assigned defect
mariadb-10.6: fails to run due to missing dependency on lzo2
Reported by: | jasimon9 | Owned by: | michaelld (Michael Dickens) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | mariadb-10.6 |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
With an assist from ChatGPT, I found this in iMac-tmp.log when attempting to start mariadb-10.6-server after a port migrate:
250410 14:52:34 mysqld_safe Starting mariadbd daemon with databases from /opt/local/var/db/mariadb-10.6 dyld[3693]: Library not loaded: /opt/local/lib/liblzo2.2.dylib Referenced from: <55E2626A-BC78-303A-A67F-90AD03518BBD> /opt/local/lib/mariadb-10.6/bin/mariadbd Reason: tried: '/opt/local/lib/liblzo2.2.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/local/lib/liblzo2.2.dylib' (no such file), '/opt/local/lib/liblzo2.2.dylib' (no such file) 250410 14:52:34 mysqld_safe mysqld from pid file /opt/local/var/db/mariadb-10.6/Mac.lan.pid ended
ChatGPT suggested installing the lzo2 port. After doing that, mariadb-10.6-server ran correctly.
A few contributing factors:
- During the port migrate, I answered "yes" to all cleanup prompts—this may have removed lzo2.
- port reclaim might have removed it as well.
- lzo2 is listed as requested in port echo installed requested, so its removal was unexpected.
Notably, sudo port load mariadb-10.6-server would succeed, but the daemon would silently fail shortly after startup.
It appears the MariaDB server binary links to liblzo2.2.dylib, but no corresponding depends_lib entry exists in the mariadb-10.6 Portfile. Suggest adding port:lzo2 as a dependency for both mariadb-10.6 and mariadb-10.6-server (and perhaps other versions, if affected).
Change History (2)
comment:1 Changed 2 months ago by jmroot (Joshua Root)
Owner: | set to michaelld |
---|---|
Port: | mariadb-10.6 added |
Status: | new → assigned |
comment:2 Changed 2 months ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Summary: | mariadb-10.6-server fails to run after migrate due to missing dependency on lzo2 → mariadb-10.6: fails to run due to missing dependency on lzo2 |
Note: See
TracTickets for help on using
tickets.
The dependency would belong in mariadb-10.6 not mariadb-10.6-server.