2011-12-30, 13:47
Memphiz Wrote:I'm not really happy with that pr tbh. Because it is so special. Isn't there a more generic way to add librarys to openelec (a general path or so) and adding this path to the LD_LIBRARY_PATH? This would be more generic and wouldn't need any adaption to the addon.
Unfortunately, there isn't.
- The root filesystem is mounted read only, the only user writeable are is /storage. Because of this, we can't modify openelec's boot scripts to add a library path.
- All addons are self-contained. Boblightd is available in the repositories, and when installed stores all of it's data within the normal addon structure of XBMC.
- All binary addons must add their own LD_LIBRARY_PATH to start correctly. Take a look at this example for nano (maintained by openelec). It has it's LD_LIBRARY_PATH hard coded in order to run.
I've been working with the openelec guys on this, and boblightd has been developed according to their standards. It seems this is the best/only way to do it.