Clara-parabricks 4.2.0-1 container: rna_fq2bam; ERROR running STAR inside the container "error while loading shared libraries: libfilehandle.so"

How to run STAR to generate genome index inside container (version 2.7.2a)? This would probably solve many issues faced due to genome index mismatch.

I get error when running directly in container (singularity)
Singularity> /usr/local/parabricks/binaries/bin/star
/usr/local/parabricks/binaries/bin/star: error while loading shared libraries: libfilehandle.so: cannot open shared object file: No such file or directory

Set your library path.

You need to 2 libraries. (libfilehandle.so, libcuda.so.1)

libfilehandle.so file is in /usr/local/parabricks/binaries/lib, and
libcuda.so.1 is in /usr/local/cuda-12.2/compat

so, you type following command in terminal. (But this command affect in this session only).

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/parabricks/binaries/lib:/usr/local/cuda-12.2/compat

Thank you @Kibaick.Lee let me try that in the container! I am getting similar library error while running the ```
pbrun collectmultiplemetrics

what(): Record contains library that is missing from header:
Would you have suggestions on troubleshooting this error?