HI All,
Ran into some programing issues today on my raspberry Pi 3 - using arduino IDE 2:1.05-dfsg2-4.1 and Raspbian/debian 9.1.
I installed the Ethernet2 and modbus libraries, but kept getting 'file not found' errors for the library *.h files.
I was able to frx this by copying these library source/src folder files to the root of the library folder.
This fixed the library issues but I had to update default SPI library to get things100% functaional.
I am not sure if the Linux Arduino IDE is maybe a rev or so behind (as I had none of these issues on my windows box), but I all ears/open to suggestions.
Hopefully this fix helps someone out in the meantime.