lraw2raw command not found error

I tried to convert a lraw data to raw data using the following command:

sudo LD_LIBRARY_PATH=/usr/local/cuda/lib64 ./lraw2raw --inputfile=~/records/cam_bld_120fov.lraw --outputfile=~/records/cam_bld_120fov_ed.raw --usePinnedMemory=0

As it’s stated in the page: https://docs.nvidia.com/driveworks/dwx_tools_lraw2raw.html#dwx_tools_lraw2raw_running

However, I got the following error:

sudo: ./lraw2raw: command not found

I also checked FAQ in nvidia docs (here: https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#faq)
It says that

"Your LD_LIBRARY_PATH environment variable is not set up correctly. Ensure that your LD_LIBRARY_PATH includes the lib and/or lib64 directory where you installed the Toolkit, usually /usr/local/cuda-10.2/lib{,64}:"

However my path seems correct. I couldn’t find the solution yet.

Any solution will be appreciated.

Dear uuresin,
lraw2raw is at /usr/local/driveworks/tools/capture/lraw2raw. Could you check running in home folder with absolute path to parameters without sudo. To me it is looking like a general issue like at https://stackoverflow.com/questions/12996397/command-not-found-when-using-sudo