I'm trying to make running my tax program from the command line easier by creating a symbolic link. The program is located at "/opt/OpenTaxSolver2024_22.07_linux64/Run_taxsolve_GUI". I created a symbolic link using the following commands:
sudo ln -s /opt/OpenTaxSolver2024_22.07_linux64/Run_taxsolve_GUI /usr/local/bin/taxes
I thought this would let me simply type "taxes" in the command line, but instead, I get an error message saying:
Could not find path.
Saw: ''
When I run "readlink -e taxes", it points correctly to the executable path, and both the executable and the link have executable permissions. Even using "sudo taxes" gives me the same error. It seems like the link points to the executable correctly, yet the command can't find it. What am I missing here?
1 Answer
It sounds like the issue might be about where the program looks for its necessary files when it starts. Instead of a symlink problem, it could be that the program needs to be run from its install directory because it looks for files relative to the current working directory. You can test this by changing to the install directory using `cd /opt/OpenTaxSolver2024_22.07_linux64` and then running `taxes`. If that works, the link itself isn’t the problem—just how the program operates.

I tried that too! When I ran it from the install directory using just `taxes`, I still got that "Could not find path" error. But when I ran the full path, it worked fine. Seems like it might just be how the program is set up.