You can see this,it worked fine for me. https://www.reddit.com/r/rprogramming/comments/1ct8rma/missing_library_functions_and_unresolved_symbols/