[Freeswitch-users] fail to add opus to freeswitch

Assaf Dahary adahary at gmail.com
Thu Sep 10 00:14:22 MSD 2015

Here is the complete output of the build cmd:


[root at www ~]# cd /usr/local/src/freeswitch/

[root at www freeswitch]# make mod_opus-install

/bin/sh /usr/local/src/freeswitch/quiet_libtool   --mode=install /usr/bin/install -c   libfreeswitch.la '/usr/local/freeswitch/lib'

quiet_libtool: install: /usr/bin/install -c .libs/libfreeswitch.so.1.0.0 /usr/local/freeswitch/lib/libfreeswitch.so.1.0.0

quiet_libtool: install: (cd /usr/local/freeswitch/lib && { ln -s -f libfreeswitch.so.1.0.0 libfreeswitch.so.1 || { rm -f libfreeswitch.so.1 && ln -s libfreeswitch.so.1.0.0 libfreeswitch.so.1; }; })

quiet_libtool: install: (cd /usr/local/freeswitch/lib && { ln -s -f libfreeswitch.so.1.0.0 libfreeswitch.so || { rm -f libfreeswitch.so && ln -s libfreeswitch.so.1.0.0 libfreeswitch.so; }; })

quiet_libtool: install: /usr/bin/install -c .libs/libfreeswitch.lai /usr/local/freeswitch/lib/libfreeswitch.la

quiet_libtool: install: /usr/bin/install -c .libs/libfreeswitch.a /usr/local/freeswitch/lib/libfreeswitch.a

quiet_libtool: install: chmod 644 /usr/local/freeswitch/lib/libfreeswitch.a

quiet_libtool: install: ranlib /usr/local/freeswitch/lib/libfreeswitch.a

quiet_libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/sbin" ldconfig -n /usr/local/freeswitch/lib


Libraries have been installed in:



If you ever happen to want to link against installed libraries

in a given directory, LIBDIR, you must either use libtool, and

specify the full pathname of the library, or use the `-LLIBDIR'

flag during linking and do at least one of the following:

   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable

     during execution

   - add LIBDIR to the `LD_RUN_PATH' environment variable

     during linking

   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag

   - have your system administrator add LIBDIR to `/etc/ld.so.conf'


See any operating system documentation about shared libraries for

more information, such as the ld(1) and ld.so(8) manual pages.


Unknown target mod_opus-install

make[2]: *** [mod_opus-install-all] Error 1

make[1]: *** [mod_opus-install] Error 2

make: *** [mod_opus-install] Error 2

[root at www freeswitch]#


From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Brian West
Sent: Wednesday, September 09, 2015 7:36 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] fail to add opus to freeswitch


Its never built, what are the full build errors?


On Wed, Sep 9, 2015 at 6:52 AM, Assaf Dahary <adahary at gmail.com> wrote:



When I installed freeswitch 1.4 long time ago I've commented out #mod_opus because I use SILK only.


Now I would like to add the opus codec so I enabled it in the modules.conf and try to compile with:

/usr/local/src/freeswitch/make mod_opus-install

But it fails with error:

Unknown target mod_opus-install

make[2]: *** [mod_opus-install-all] Error 1

make[1]: *** [mod_opus-install] Error 2

make: *** [mod_opus-install] Error 2


I also download opus from source and compiled OK but still fail to 'load mod_opus' from cli:

switch_loadable_module.c:1391 Error Loading module /usr/local/freeswitch/mod/mod_opus.so


How can I add the opus codec?





Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org

Official FreeSWITCH Sites

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org



Brian West
brian at freeswitch.org


Twitter: @FreeSWITCH , @briankwest

Got Bugs? Report them here <https://freeswitch.org/jira> ! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch> 

T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378)
iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150909/c32d1944/attachment-0001.html 

Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list