CLI: Troubleshooting

Last updated: September 27, 2023Author: Jakub Pomykała

Do you have a problem with running CLI? Please report this problem as GitHub issue. Below you can see solutions for reported SimpleLocalize CLI issues so far.

simplelocalize: No such file or directory

Please make sure that you installed the CLI properly. See our getting started with CLI page for more information about the installation process.

If you still see simplelocalize: command not found error after executing the installation script, then you can install the CLI manually. Download the latest CLI version from GitHub releases page and add a path to the binary to your PATH or just run the binary. Remember to make the binary executable.

# add to PATH
export PATH=$PATH:/path/to/simplelocalize-cli

# run the binary
./simplelocalize-cli [command] parameters

# make the binary executable
chmod +x simplelocalize-cli

version `GLIBC_2.33' not found

This error might occur on Linux systems with older GLIBC version.

simplelocalize: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by simplelocalize)
simplelocalize: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by simplelocalize)
simplelocalize: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by simplelocalize)
Error: Process completed with exit code 1.

You can try to run the CLI via Java launcher. Install Java 11 or newer, you can use SDKMAN for this purpose.

# install sdkman
curl -s "https://get.sdkman.io" | bash

# install java
sdk install java

Download the latest CLI version from GitHub releases page. Run the CLI via Java launcher:

java -jar simplelocalize-cli.jar [command] parameters

The other solution is to update your GLIBC version or upgrade your Linux distribution.

Segmentation fault

This error might occur on internal error of the CLI or your system configuration. Please report this problem as GitHub issue, and we will try to fix it as soon as possible. Meanwhile, you can try to run the CLI via Java launcher.

Install Java 11 or newer, you can use SDKMAN for this purpose.

# install sdkman
curl -s "https://get.sdkman.io" | bash

# install java
sdk install java

Download the latest CLI version from GitHub releases page. Run the CLI via Java launcher:

java -jar simplelocalize-cli.jar [command] parameters