I have created some c function (for steam lookup tables), and load them into R using shared library, and dynamic loading. this all seems to work fine
The challenge comes when my shared library, steam_r2.so , also uses a shared library (freesteam package).
On my own system, the library is called libfreesteam.so.1, which is installed on my system at /usr/lib , and I can link this in, and it is loaded at run time, I believe
See error below, when trying to run my app on
shinyapps.io, obviously because the library libfreeseam.so is not available on your server.
Is there a way in which I can include this library, so it can be loaded ?
Also, I suspect that I may be able to fix this, using the static library version of of libfreesteam.a, but I just dont have the skills to be able to tune the linker to do this, i.e. when it is making steam_r2.so
Any help most appreciated
Gerard
Error in value[[3L]](cond) :
unable to load shared object '/srv/connect/apps/ph_diagram/steam_r2.so':
libfreesteam.so.1: cannot open shared object file: No such file or directory
Calls: local ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
Execution halted