Cannot get Local to run in Crostini on a Chromebook.
Steps to reproduce
Download .deb package (Debian based)
Double click to install (works okay)
Launch Local (works okay)
Create new site with recommended defaults
Got an error, something about
libnuma.so.1: cannot open shared object file: No such file or directory - fixed with:
mysql - Error while loading shared libraries: libnuma.so.1: cannot open shared object file: No such file or directory - Stack Overflow
Create a new site again (attempt #2) with recommended defaults
Now getting error:
Not sure where to go from here. I’ve tried
chmod 777 /usr/bin/pkexec, but no luck
Describe your environment.
What Operating System are you using?
ChromeOS Version 119.0.6045.212 (Official Build) (64-bit) What versions of site software (Nginx, Apache, PHP, MySQL) is used?
Preferred PHP 8.1.23, Nginx, MySQL 8.0.16 What version of Local is installed?
Please provide your Local Log. See this Community Forum post for instructions on how to do so:
local-logs.zip (2.9 KB)
Does this workaround allow you to proceed?
Sorry that you encountered this,
@mizaistom and @leichim.
As a workaround for now, please could you try installing Local via yum or Fedora’s Software Installer as above, then also installing the missing dependency like this?
sudo yum install libxcrypt-compat
Restart Local, and you should find that MySQL runs when you create and start a new site. I tested this under Fedora 39 and all is then well for me:
(The underlying issue is that the vendor-supplied version of MySQL …
@Nick-B thanks, it doesn’t appear
libxcrypt-compat is available on Debian 11, which is what the Chromebooks use now.
@cartpauj - I’m not familiar with Chromebook myself but just searching
chromebook crostini user did not grant permission or
chromebook crostini permission error returned a lot of threads below which might help here too. If you’re still having trouble I can relay this to the Devs for a deeper look.
Thanks, not seeing much there that helps. The Chromebook isn’t my daily driver, just something I was playing around with for work/travel use. I’m guessing Local just hasn’t been tested against Crostini yet. I’m going to call it for now, but I’ll keep an eye on the forums to see if there’s any progress in the future.
@cartpauj! I’ll check with the team on this and report back as well for you or any others who may come for answers in the future.