Hi @ptrblck, Hi @my3bikaht!
Thanks for the suggestions!
I did work to set it up in both ways; via CUDA 11.5 and CUDA 10. and by degrading the gcc version to gcc-10.
Major Problems I am facing:


archlinux package does not have any upstream link for CUDA 11.5 (I stumbled from my side, I might be wrong).
I then turned to CUDA 10. using sudo pacman -S cuda-10.0 (Failed, since the target was not available) I found another command yay -S cuda-10.1 to install CUDA 10.0 in archlinux. This took more than 6 hrs to build.
Then I planned to degrade the gcc version. (Though, I personally, wanted to complete using CUDA). I tried many things. But currently, I am getting the following error:

/usr/bin/ld: eg: _ZSt3cin: invalid version 2 (max 0)
/usr/bin/ld: eg: error adding symbols: bad value
collect2: error: ld returned 1 exit status

SYSTEM CONFIGURATION

Manjaro Linx 21.0.0

Will you please give me some hints to resolve the error?
Thanks!