The problem is that the path to the necessary library libmozjs.so
changes with every xulrunner update. For 1.9.2.13 it is
/usr/lib/xulrunner-1.9.2.13/libmozjs.so for example.

There are 2 possibilities to solve this problem (afaik). Hardcode the
path at compile-time into the binary. That's what i do. This requires a
new version for every new xulrunner version.

The second possibility is to write a wrapper script for mediatomb
executable that assign the path to the LD_LIBRARY_PATH variable and then
starts the real mediatomb executable. With that there would be no need
for an update on every new xulrunner version as long as libmozjs.so
stays binary compatible.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/568275

Title:
  No JS in 0.12.0~svn2018-6ubuntu2

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to