This message was posted on behalf of Intel Corporation
Thanks for contacting us!
We would like to suggest you to update MRAA and UPM libraries, please take a look at this link: Updating the MRAA I/O and UPM, there you can find instructions on how to update them and then try running your code again.
If you continue getting that error message, please take a look at this link: https://github.com/intel-iot-devkit/mraa/issues/502, there is a discussion about this error message, as a summary the error message is about a missing libmraa.so.1 file, you can solve this by creating a symbolic link with that name in /usr/lib pointing to libmraa.so.0. Please read that discussion for more details.
Hope this information helps.