Local Shell: GLIBC_2.29 not found

Issue Summary

When opening the local Sites’ shell and trying to run wp cli this error gets output: php: /home/moe/.config/Local/lightning-services/php-8.0.0+2/bin/linux/shared-libs/libm.so.6: version GLIBC_2.29’ not found (required by php)` - Switching to PHP 7.4. then works.

CLI Output after launch:

-e Setting Local environment variables...
----
WP-CLI:   WP-CLI 2.5.0
Composer: 2.1.5 2021-07-23
PHP:      8.0.0
MySQL:    mysql  Ver 8.0.16 for Linux on x86_64 (MySQL Community Server - GPL)
----
Launching shell: /bin/bash ...

Troubleshooting Questions

  • Does this happen for all sites in Local, or just one in particular?
    Happens to all that use php 8

  • Are you able to create a new, plain WordPress site in Local and access it in a Browser?
    Yes

Replication

Create a new Site, use nginx, php 8, mysql 8.0.16. Right click on the new site and login to shell. Now any wp command fails because of the above mentioned error.

System Details

  • Which version of Local is being used?
    6.2.1+5711

  • What Operating System (OS) and OS version is being used?
    Linux Ubuntu 20.

  • Attach the Local Log. See this Help Doc for instructions on how to do so:
    local-lightning.log (684.7 KB)
    04

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.