javascriptv8voipfreeswitch

Cannot install mod_v8 in FreeSwitch


I get below error when I try to install mod_v8 with 'load mod_v8' command. As documentation says I checked to modules.conf for uncomment 'languages/mod_v8' line but that file is empty.Also I uncommented mod_v8 line in 'modules.conf.xml' file but module still not loads.

switch_loadable_module.c:1750 Error Loading module /usr/lib/freeswitch/mod/mod_v8.so
**/usr/lib/freeswitch/mod/mod_v8.so: cannot open shared object file: No such file or directory**

Any Help ?)


Solution

  • I try to install mod_v8 with 'load mod_v8' command

    Per the documentation, installing and loading are two separate steps and you need to do both:

    1. Install mod_v8 by executing make mod_v8-install
    2. Load mod_v8 by executing load mod_v8.

    The second won't work without the first. The error message "no such file or directory" suggests that this might be the problem.

    That said, the same documentation also says that mod_v8 should be available by default since 2014. So, if you need further help, please give more information: