ksptot
ksptot copied to clipboard
KSPTOT Does not launch; no executable running on Linux
When attempting to run run_KSPTrajectoryOptimizationTool.sh
, the linux console seems to crash, but in reality it exits.
If I enter the shell script file and remove the exit
line, I get this error code:
Setting up environment variables
---
LD_LIBRARY_PATH is .:/usr/local/MATLAB/R2022a//runtime/glnxa64:/usr/local/MATLAB/R2022a//bin/glnxa64:/usr/local/MATLAB/R2022a//sys/os/glnxa64:/usr/local/MATLAB/R2022a//sys/opengl/lib/glnxa64
bash: /bin/KSPTrajectoryOptimizationTool: No such file or directory
Attempting to run the executable file also fails with no running process. If I use the full path to the executable I get this error code:
Setting up environment variables
---
LD_LIBRARY_PATH is .:/usr/local/MATLAB/R2022a//runtime/glnxa64:/usr/local/MATLAB/R2022a//bin/glnxa64:/usr/local/MATLAB/R2022a//sys/os/glnxa64:/usr/local/MATLAB/R2022a//sys/opengl/lib/glnxa64
/home/dupiter/Documents/KSPTOT/KSPTOT-linux/KSPTrajectoryOptimizationTool: error while loading shared libraries: libmwlaunchermain.so: cannot open shared object file: No such file or directory
Operating System: Arch Linux KDE Plasma Version: 5.27.6 KDE Frameworks Version: 5.107.0 Qt Version: 5.15.10 Kernel Version: 6.4.1-zen2-1-zen (64-bit) Graphics Platform: X11 Processors: 6 × Intel® Core™ i5-9400F CPU @ 2.90GHz Memory: 31.3 GiB of RAM Graphics Processor: NVIDIA GeForce RTX 2060 SUPER/PCIe/SSE2
Is this project still in development?
Is this project still in development?
Hey! It is, yes, though I'm not actively developing anything at the moment since I don't have any new idea features floating around.
If you're asking about this bug in particular, the issue is almost certainly with the way that the MATLAB Compiler Runtime was set up or configured. It's pretty hard for me to debug these since I rarely use Linux and it's not an issue with my code per se. That said, it looks like it's trying to find the KSPTOT executable at "/bin", which it almost certainly not located at. I'm not sure how to resolve that, though, and I didn't see anything when I did some brief Googling.
I can continue to look into it if the original poster of this issue is still having trouble.