Hey ydd,
The way all the config files and the whole system is installed, it's heavily based on full path and not relative paths.
In other words, if you have it on a shared folder and it's Under Windows as E:\etc\etc and you installed it in /home/yd/SHARE/LinuxLazarus on your Linux box, then every time fpc wants to find the files, it's gonna try accessing /home/yd/SHARE/LinuxLazarus which in a Windows env it makes no sense.
Sorry, but FPC+Lazarus is not able to be installed in a way you can share that install.
Hope this helps!!
Cheers,
Gus