These examples were tested against MATLAB 2011. The symbol 'engEvalString' is from the MATLAB libraries, so it is possible that they have made some changes that haven't been tested recently.
Take a look at the details of the compilation phase and see if there are any warnings about undefined symbols or something similar. Also, you can run 'ldd' on matlab_dpi.so and ensure that all the shared libraries are resolved properly.