Hello everyone !
In the IDK (version 11.0.811), the documentation says :
+ lib: This is the default library directory in which we will search for any required shared libraries. You can customize search path with manifest entry idk_lib_path
However, whatever I try I get the following error:
pkg_/sample: error while loading shared libraries: libXXX.so: cannot open shared object file: No such file or directory
This is what I tried:
Unfortunately, nothing seems to work. I successfully managed to load the library with "dlopen" but that's not quite equivalent and I would like to not rely on it.
Is this a known issue or am I missing something ?
Thanks for your help !
Small updates for people looking for a solution :
It appears that the correct path to give to the linker is "/pkg_/lib" (Note the underscore replacing the colon).
Putting your dynamic library in the "lib/" folder of the package and setting the runtime path of the ELF executable to "/pkg_/lib" using "-Wl,-rpath=/pkg_/lib" will do the trick.
Small updates for people looking for a solution :
It appears that the correct path to give to the linker is "/pkg_/lib" (Note the underscore replacing the colon).
Putting your dynamic library in the "lib/" folder of the package and setting the runtime path of the ELF executable to "/pkg_/lib" using "-Wl,-rpath=/pkg_/lib" will do the trick.
We’re upgrading Roku Community to bring you a faster, more mobile-friendly experience. You may notice limited functionality or read-only access during this time. Read more here.
Planned Downtime:
Community will be unavailable for up to 24–48 hours during the upgrade window during the week of May 19th and you may notice reduced functionality.
In the meantime, for additional assistance, visit our Support Site.
We're sorry for this disruption — we’re excited to share what’s next!