You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following the documentation for installing LitexCNC / LinuxCNC on a RaspberryPi4 using the image from linuxcnc.org/downloads does not work.
Problems:
LitexCNC is not persisted on PATH
therefore the toolchain is also not on PATH, thus building fails.
Proposed solution
Modify the documentation so the PATH variable is persisted. In later stage modify source code so the relevant files are correctly written.
Caveat
The user uba100 on forum.linuxcnc.org has tried to fix this problem. He changed the PATH variable
Which now results in receiving the following messages:
/home/cnc/.local/bin/python3: /home/cnc/toolchain/oss-cad-suite/lib/libm.so.6: version `GLIBC_2.35' not found (required by /home/cnc/.local/bin/python3)
/home/cnc/.local/bin/python3: /home/cnc/toolchain/oss-cad-suite/lib/libc.so.6: version `GLIBC_2.33' not found (required by /home/cnc/.local/bin/python3)
/home/cnc/.local/bin/python3: /home/cnc/toolchain/oss-cad-suite/lib/libc.so.6: version `GLIBC_2.32' not found (required by /home/cnc/.local/bin/python3)
/home/cnc/.local/bin/python3: /home/cnc/toolchain/oss-cad-suite/lib/libc.so.6: version `GLIBC_2.34' not found (required by /home/cnc/.local/bin/python3)
This most likely indicates a broken installation. Changing LD_LIBRARY_PATH is most-likely not the correct way to get the installation up-and-running.
The text was updated successfully, but these errors were encountered:
Problem is that PATH variable is not set correctly. The parameters are written to .profile, which is not read by the console when started from the GUI. I tested it headless over SSH, which means that .profile is read...
Temporary fix for the problem is to add the following lines to .bashrc
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
# set PATH so it includes oss-cad-suite
if [ -d "/home/cnc/toolchain/oss-cad-suite/bin" ] ; then
PATH="/home/cnc/toolchain/oss-cad-suite/bin:$PATH"
fi
Following the documentation for installing LitexCNC / LinuxCNC on a RaspberryPi4 using the image from linuxcnc.org/downloads does not work.
Problems:
PATH
PATH
, thus building fails.Proposed solution
Modify the documentation so the PATH variable is persisted. In later stage modify source code so the relevant files are correctly written.
Caveat
The user uba100 on forum.linuxcnc.org has tried to fix this problem. He changed the
PATH
variableAnd got the following message:
This shared file is located within
oss-cad-suite
, so he changed theLD_LIBRARY_PATH
to include this folder:Which now results in receiving the following messages:
This most likely indicates a broken installation. Changing
LD_LIBRARY_PATH
is most-likely not the correct way to get the installation up-and-running.The text was updated successfully, but these errors were encountered: