Troubles build with mod_cepstral
Hi, I was trying to build freeswitch with cepstral enabled. Here is the procdure i am following: http://wiki.freeswitch.org/wiki/Mod_cepstral#Can_I_use_a_16khz_.22desktop_vo... Unfortunately, the build fails as show in the log message hereunder. In a previous thread, Brian says that the SDK is needed. Yet on the above wiki page, it is said that the SDK is not needed. Any suggestion? Max. Compiling mod_cepstral.c ... Creating mod_cepstral.so... /usr/bin/ld: skipping incompatible /opt/swift/lib/libswift.so when searching for -lswift /usr/bin/ld: cannot find -lswift collect2: ld returned 1 exit status gcc -w -I/home/installs/freeswitch/src/include -I/home/installs/freeswitch/libs/libteletone/src -fPIC -Werror -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -ggdb -g -O2 -Wall -std=c99 -pedantic -D_GNU_SOURCE -I/include -I/opt/swift/include -shared -o .libs/mod_cepstral.so -shared -Wl,-x .libs/mod_cepstral.o -L/lib -L/opt/swift/lib -lswift -lm /home/installs/freeswitch/.libs/libfreeswitch.so -L/home/installs/freeswitch/libs/apr-util/xml/expat/lib /home/installs/freeswitch/libs/apr-util/xml/expat/lib/.libs/libexpat.a /home/installs/freeswitch/libs/apr/.libs/libapr-1.a -luuid -lrt -lcrypt -lpthread -L/home/installs/freeswitch/libs/srtp -L/usr/kerberos/lib64 -lssl -lcrypto -ldl -lz -lncurses -Wl,--rpath -Wl,/usr/local/freeswitch/lib -Wl,--rpath -Wl,/usr/local/freeswitch/mod make[5]: *** [mod_cepstral.so] Error 1 make[4]: *** [all] Error 1 make[3]: *** [mod_cepstral-all] Error 1 make[2]: *** [all-recursive] Error 1 Making all in build +-------- FreeSWITCH Build Complete -----------+ + FreeSWITCH has been successfully built. + + Install by running: + + + + make install + +----------------------------------------------+ make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
You still have to have the voices installed... the SDK comes with each voice for Linux ... for windows you have to have the SDK... /b On Aug 30, 2009, at 12:47 PM, Max Bridgewater wrote:
Hi,
I was trying to build freeswitch with cepstral enabled. Here is the procdure i am following: http://wiki.freeswitch.org/wiki/Mod_cepstral#Can_I_use_a_16khz_.22desktop_vo...
Unfortunately, the build fails as show in the log message hereunder. In a previous thread, Brian says that the SDK is needed. Yet on the above wiki page, it is said that the SDK is not needed. Any suggestion?
Max.
OK, it's bad and good news. It's good news because it's reassuring that i don't need a separate SDK. Its bad news because i already installed a voice (Jean-Pierre) following the procedure describe on the wiki. I will now delete it and install the Allison voice to see if there is any difference. Will let ya know. On Sun, Aug 30, 2009 at 1:58 PM, Brian West <brian@freeswitch.org> wrote:
You still have to have the voices installed... the SDK comes with each voice for Linux ... for windows you have to have the SDK... /b
On Aug 30, 2009, at 12:47 PM, Max Bridgewater wrote:
Hi,
I was trying to build freeswitch with cepstral enabled. Here is the procdure i am following:
http://wiki.freeswitch.org/wiki/Mod_cepstral#Can_I_use_a_16khz_.22desktop_vo...
Unfortunately, the build fails as show in the log message hereunder. In a previous thread, Brian says that the SDK is needed. Yet on the above wiki page, it is said that the SDK is not needed. Any suggestion?
Max.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Even more bad news. I downloaded the Allison voice and have the same error message. Any idea what this means? mkdir .libs Compiling mod_cepstral.c ... Creating mod_cepstral.so... /usr/bin/ld: skipping incompatible /opt/swift/lib/libswift.so when searching for -lswift /usr/bin/ld: cannot find -lswift collect2: ld returned 1 exit status gcc -w -I/home/installs/freeswitch/src/include -I/home/installs/freeswitch/libs/libteletone/src -fPIC -Werror -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -ggdb -g -O2 -Wall -std=c99 -pedantic -D_GNU_SOURCE -I/opt/swift/include -I/opt/swift/include -shared -o .libs/mod_cepstral.so -shared -Wl,-x .libs/mod_cepstral.o -L/opt/swift/lib -lswift -lm /home/installs/freeswitch/.libs/libfreeswitch.so -L/home/installs/freeswitch/libs/apr-util/xml/expat/lib /home/installs/freeswitch/libs/apr-util/xml/expat/lib/.libs/libexpat.a /home/installs/freeswitch/libs/apr/.libs/libapr-1.a -luuid -lrt -lcrypt -lpthread -L/home/installs/freeswitch/libs/srtp -L/usr/kerberos/lib64 -lssl -lcrypto -ldl -lz -lncurses -Wl,--rpath -Wl,/usr/local/freeswitch/lib -Wl,--rpath -Wl,/usr/local/freeswitch/mod make[5]: *** [mod_cepstral.so] Error 1 make[4]: *** [all] Error 1 make[3]: *** [mod_cepstral-all] Error 1 make[2]: *** [all-recursive] Error 1 Making all in build +-------- FreeSWITCH Build Complete -----------+ + FreeSWITCH has been successfully built. + + Install by running: + + + + make install + +----------------------------------------------+ make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
You also failed to read this: http://wiki.freeswitch.org/wiki/Mod_cepstral#libswift.so. 4:_cannot_open_shared_object_file:_No_such_file_or_directory You have to add the directory to your ld.so.conf so it can find -lswift. /b On Aug 30, 2009, at 1:09 PM, Max Bridgewater wrote:
OK, it's bad and good news. It's good news because it's reassuring that i don't need a separate SDK. Its bad news because i already installed a voice (Jean-Pierre) following the procedure describe on the wiki. I will now delete it and install the Allison voice to see if there is any difference. Will let ya know.
On Sun, Aug 30, 2009 at 1:58 PM, Brian West <brian@freeswitch.org> wrote: You still have to have the voices installed... the SDK comes with each voice for Linux ... for windows you have to have the SDK...
/b
On Aug 30, 2009, at 12:47 PM, Max Bridgewater wrote:
Hi,
I was trying to build freeswitch with cepstral enabled. Here is the procdure i am following: http://wiki.freeswitch.org/wiki/Mod_cepstral#Can_I_use_a_16khz_.22desktop_vo...
Unfortunately, the build fails as show in the log message hereunder. In a previous thread, Brian says that the SDK is needed. Yet on the above wiki page, it is said that the SDK is not needed. Any suggestion?
Max.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Please bear with me. Here is the content of my /etc/ld.so.conf: include ld.so.conf.d/*.conf /opt/swift/lib And when i do "ldconfig -p | grep swift" , i get the following: libswift.so.5 (libc6) => /opt/swift/lib/libswift.so.5 libswift.so (libc6) => /opt/swift/lib/libswift.so libceplex_us.so.5 (libc6) => /opt/swift/lib/libceplex_us.so.5 libceplex_us.so (libc6) => /opt/swift/lib/libceplex_us.so libceplang_en.so.5 (libc6) => /opt/swift/lib/libceplang_en.so.5 libceplang_en.so (libc6) => /opt/swift/lib/libceplang_en.so So, can it be that Freeswitch is looking for libswift.so.4 instead of libswift.so.5 (as the first line of the wiki page is actually saying)? If so, where do i get this 4.x version? I can't find it in on cepstral site. Max.
participants (2)
-
Brian West
-
Max Bridgewater