ncurses-compat-libs package is needed by local but it’s an obsolete version.
Latest version of ncurses is ncurses-libs-6.3-3.20220501.fc37 which is installed but local is not proceeding to install
Steps to reproduce
Try to install Local-6.4.3 on fedora 36 and 37.
Environment Info
Fedora 36 and Fedora 37(Beta)
Local-6.4.3-linux.rpm
Supporting info
Below you can see I tried to install the libs by finding their rpm versions online. however they are old and obsolete version. Kindly fix this issue.
I’ll see if there are other workarounds or changes we can apply to Local to remove the rpm dependency on ncurses-compat-libs. A heads-up that a fix may be a little slower to test and deploy at this time of year. Thanks again for your reply and patience.
i can confirm that installing the ncurses-compat-libs for FC37 is allowing local to work now. Note that this should not close this issue as Fedora has clearly warned everyone now that this package will be going away so local needs to have this dependency removed and use the newer ncurses libraries.
@adsf1324 Thank you very much for testing and confirming it worked for you.
Note that this should not close this issue as Fedora has clearly warned everyone now that this package will be going away…
Agreed, and I will leave this thread open.
Local has a dependency on that package at the moment because the MySQL Generic Linux binary from mysql.com is linked to libncurses 5. I checked to see if we could correct this by updating the MySQL versions that Local makes available, but the latest MySQL (8.0.31) is still linked to libncurses 5 (screenshot below). Once that updates to link libncurses 6 or newer, Local could remove its dependency on ncurses-compat-libs (which provides libncurses 5).
The post reinstating ncurses-compat-libs suggests the package should be supported until at least Fedora 40, which is scheduled for release on 2024-04-16, giving MySQL some time to update its linked libraries. If that does not happen the Local team could look into compiling MySQL manually for Linux, shipping different binaries or missing libraries for each flavor of Linux, or providing another workaround.
Hopefully that helps to document why the dependency exists, and thanks again to all here for your patience while we looked into this.
Edit Jan 2024: MySQL 8.2 now links to libncurses6, so we expect this to be solved when Local updates to use that as the default MySQL service (no timeline yet, but on our radar).
@adsf1324 Thanks for the suggestion. It’s not out of the question. Local currently uses MariaDB only where MySQL is not available (Windows 32-bit), for consistency with popular WP production environments and across the OSs Local supports, but that could change.