Make Error in /usr/bin/ld

Hi,
I can’t really help as I am not a Linux person, but it might be useful to know your gcc version and possibly other configurations of your machine.
In a related thread: Trouble building the Bernoulli example (Windows 10, cmdstan 2.19.1) the problem was solved by upgradint to RTools 3.5.

If that doesn’t help, maybe @roualdes or @syclik might be able to help?

If you managed to work around this, please share!
Thanks!