Build error in C++

I followed Installing Ray — Ray 2.3.0 to install and trying the ray-template to compile C++, but not working:

$ bash run.sh
...
/usr/bin/ld.gold: fatal error: ./: pread failed: Is a directory
collect2: error: ld returned 1 exit status
Target //:example failed to build

Ubuntu 22.04.2 LTS
gcc version 11.3.0

Please help.

1 Like

Below PR fixes the issue. Committers, please review the PR, thanks!

1 Like

Thanks @soumitra, we will let the code owner review asap.

1 Like

Thanks @soumitra for fixing!