<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">I don’t see this issue on debian.  ld.so.conf might fix it, or building to /usr instead of /usr/local.  Check out our debian directory for how we build the packages for debian as a hint.  On debian 9 we just started using system packages as they now have working flite 2.0 in the distro, see master for the patches necessary for that to work without pkg-config (which unfortunately the debian package does not have)<div class=""><div class=""><br class=""></div><div class="">Our deb directory is here:  <a href="https://freeswitch.org/stash/projects/SD/repos/libflite/browse/debian" class="">https://freeswitch.org/stash/projects/SD/repos/libflite/browse/debian</a></div><div class=""><br class=""></div><div class="">You might want to use the src from this git checkout as I’m not sure the tarball has our debian packaging in it or not.</div><div class=""><br class=""></div></div><div class="">Mike</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Sep 5, 2018, at 5:52 PM, kaiduan xie <<a href="mailto:kaiduanx@yahoo.ca" class="">kaiduanx@yahoo.ca</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;" class=""><div class="">With the command as below,</div><div class=""><br class=""></div><div class=""><span class=""><div class="">LD_PRELOAD="/usr/local/lib/libflite_cmu_us_kal.so /usr/local/lib/libflite_usenglish.so /usr/local/lib/libflite_cmulex.so /usr/local/lib/libflite.so" ./bin/freeswitch</div><div class=""><br class=""></div><div class="">I finally got mod_flite working on Ubuntu 16.04 with Freeswitch 1.8.0 source code</div><div class=""><br class=""></div><div class="">So the question is why Freeswitch does not load above libraries by itself?</div><div class=""><br class=""></div><div class="">/Kaiduan</div></span></div><div id="yahoo_quoted_6283072082" class="yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;" class="">
                
                <div class="">
                    On Wednesday, September 5, 2018, 11:54:07 AM EDT, kaiduan xie via FreeSWITCH-users <<a href="mailto:freeswitch-users@lists.freeswitch.org" class="">freeswitch-users@lists.freeswitch.org</a>> wrote:
                </div>
                <div class=""><br class=""></div>
                <div class=""><br class=""></div>
                <div class=""><div id="ymsg21605" class="ymsg4046446798" src="mid://AKcrbAdMg6BSW4_8Hwc_eKx5hG0/1"><div id="yiv9635000179" class=""><div class=""><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;" class=""><div class="">Thanks Michael.</div><div class=""><br clear="none" class=""></div><div class="">I downloaded the flite 2.0 from <a rel="nofollow" shape="rect" target="_blank" href="http://files.freeswitch.org/downloads/libs/flite-2.0.0.tar.gz" class="">http://files.freeswitch.org/downloads/libs/flite-2.0.0.tar.gz</a> and build it as below</div><div class=""><br clear="none" class=""></div><div class="">./configure --enable-shared</div><div class="">make</div><div class="">make install</div><div class=""><br clear="none" class=""></div><div class="">build and run freeswitch-1.8, the same error occurred again.</div><div class=""><br clear="none" class=""></div><div class="">However mod_flite was successfully loaded if I ran freeswitch as below (used LD_PRELOAD to load libflite_cmulex)</div><div class=""><br clear="none" class=""></div><div class=""><span class=""></span><div class="">kxie@kxie-Inspiron-3656:~/freeswitch-install$ pwd</div><div class="">/home/kxie/freeswitch-install</div><div class="">kxie@kxie-Inspiron-3656:~/freeswitch-install$ LD_PRELOAD=/usr/local/lib/libflite_cmulex.so ./bin/freeswitch</div><div class=""><br clear="none" class=""></div><div class="">/Kaiduan</div><br clear="none" class=""></div><div class="yiv9635000179yqt5830741987" id="yiv9635000179yqt40116"><div class="yiv9635000179yahoo_quoted" id="yiv9635000179yahoo_quoted_6540687529">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;" class="">
                
                <div class="">
                    On Tuesday, September 4, 2018, 12:32:54 PM EDT, Michael Jerris <<a href="mailto:mike@jerris.com" class="">mike@jerris.com</a>> wrote:
                </div>
                <div class=""><br clear="none" class=""></div>
                <div class=""><br clear="none" class=""></div>
                <div class=""><div id="yiv9635000179" class=""><div class="">Our build requires flite 2.0 …. Our latest Debian unstable and 1.8 repos have these packages, for ubuntu you likely need to build these packages yourself from our support deps in stash.<br clear="none" class="yiv9635000179"><div class=""><br clear="none" class="yiv9635000179"><blockquote class="yiv9635000179" type="cite"><div class="yiv9635000179">On Sep 3, 2018, at 12:26 PM, kaiduan xie via FreeSWITCH-users <<a rel="nofollow" shape="rect" class="yiv9635000179" ymailto="mailto:freeswitch-users@lists.freeswitch.org" target="_blank" href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>> wrote:</div><br clear="none" class="yiv9635000179Apple-interchange-newline"><div class="yiv9635000179"><br clear="none" class="yiv9635000179"><div class="yiv9635000179yqt8931697906" id="yiv9635000179yqt13661"><div class="yiv9635000179" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;"><span class="yiv9635000179" style="font-family:-webkit-system-font, Helvetica Neue, Helvetica, sans-serif;"><b class="yiv9635000179">From: </b></span><span class="yiv9635000179" style="font-family:-webkit-system-font, Helvetica Neue, Helvetica, sans-serif;">kaiduan xie <<a rel="nofollow" shape="rect" class="yiv9635000179" ymailto="mailto:kaiduanx@yahoo.ca" target="_blank" href="mailto:kaiduanx@yahoo.ca">kaiduanx@yahoo.ca</a>><br clear="none" class="yiv9635000179"></span></div><div class="yiv9635000179" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;"><span class="yiv9635000179" style="font-family:-webkit-system-font, Helvetica Neue, Helvetica, sans-serif;"><b class="yiv9635000179">Subject: </b></span><span class="yiv9635000179" style="font-family:-webkit-system-font, Helvetica Neue, Helvetica, sans-serif;"><b class="yiv9635000179">mod_flite fails due to undefined symbol: cmu_lex_init</b><br clear="none" class="yiv9635000179"></span></div><div class="yiv9635000179" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;"><span class="yiv9635000179" style="font-family:-webkit-system-font, Helvetica Neue, Helvetica, sans-serif;"><b class="yiv9635000179">Date: </b></span><span class="yiv9635000179" style="font-family:-webkit-system-font, Helvetica Neue, Helvetica, sans-serif;">August 30, 2018 at 7:10:06 PM EDT<br clear="none" class="yiv9635000179"></span></div><div class="yiv9635000179" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;"><span class="yiv9635000179" style="font-family:-webkit-system-font, Helvetica Neue, Helvetica, sans-serif;"><b class="yiv9635000179">To: </b></span><span class="yiv9635000179" style="font-family:-webkit-system-font, Helvetica Neue, Helvetica, sans-serif;">FreeSWITCH Users Help <<a rel="nofollow" shape="rect" class="yiv9635000179" ymailto="mailto:freeswitch-users@lists.freeswitch.org" target="_blank" href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>><br clear="none" class="yiv9635000179"></span></div><br clear="none" class="yiv9635000179"><br clear="none" class="yiv9635000179"><div class="yiv9635000179"><div class="yiv9635000179" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div class="yiv9635000179"><span class="yiv9635000179"></span><div class="yiv9635000179" style="">Hi all,</div><div class="yiv9635000179" style=""><br clear="none" class="yiv9635000179"></div><div class="yiv9635000179" style="">I build and run FreeSwitch 1.6.20 from source on Ubuntu 16.0.4 xenial, the mod_filte failed while loading,</div><div class="yiv9635000179" style=""><br clear="none" class="yiv9635000179"></div><div class="yiv9635000179" style=""><div class="yiv9635000179">2018-08-30 19:03:30.786468 [CRIT] switch_loadable_module.c:1522 Error Loading module /home/kxie/freeswitch-dev-install/lib/freeswitch/mod/mod_flite.so</div><div class="yiv9635000179">**/usr/local/lib/libflite_cmu_us_slt.so.1: undefined symbol: cmu_lex_init**</div><div class="yiv9635000179"><br clear="none" class="yiv9635000179"></div>Any idea to solve this issue?</div><div class="yiv9635000179" style=""><br clear="none" class="yiv9635000179"></div><div class="yiv9635000179" style="">Many thanks,</div><div class="yiv9635000179" style=""><br clear="none" class="yiv9635000179"></div><div class="yiv9635000179" style="">/Kaiduan</div><br clear="none" class="yiv9635000179"></div></div></div></div><br clear="none" class="yiv9635000179"><br clear="none" class="yiv9635000179">_________________________________________________________________________<br clear="none" class="yiv9635000179">Professional FreeSWITCH Services<br clear="none" class="yiv9635000179"><a rel="nofollow" shape="rect" class="yiv9635000179" ymailto="mailto:sales@freeswitch.com" target="_blank" href="mailto:sales@freeswitch.com">sales@freeswitch.com</a><br clear="none" class="yiv9635000179"><a href="https://freeswitch.com" class="">https://freeswitch.com</a><br clear="none" class="yiv9635000179"><br clear="none" class="yiv9635000179">Official FreeSWITCH Sites<br clear="none" class="yiv9635000179">https://freeswitch.com/oss<br clear="none" class="yiv9635000179">https://freeswitch.org/confluence<br clear="none" class="yiv9635000179">https://cluecon.com<br clear="none" class="yiv9635000179"><br clear="none" class="yiv9635000179">FreeSWITCH-users mailing list<br clear="none" class="yiv9635000179">FreeSWITCH-users@lists.freeswitch.org<br clear="none" class="yiv9635000179">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br clear="none" class="yiv9635000179">UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br clear="none" class="yiv9635000179">https://freeswitch.com</div></blockquote></div><br clear="none" class="yiv9635000179"></div></div></div>
            </div>
        </div></div></div></div></div></div><div class="yqt5830741987" id="yqt47956">_________________________________________________________________________<br clear="none" class="">Professional FreeSWITCH Services<br clear="none" class=""><a shape="rect" ymailto="mailto:sales@freeswitch.com" href="mailto:sales@freeswitch.com" class="">sales@freeswitch.com</a><br clear="none" class=""><a shape="rect" href="https://freeswitch.com/" target="_blank" class="">https://freeswitch.com</a><br clear="none" class=""><br clear="none" class="">Official FreeSWITCH Sites<br clear="none" class=""><a shape="rect" href="https://freeswitch.com/oss" target="_blank" class="">https://freeswitch.com/oss</a><br clear="none" class=""><a shape="rect" href="https://freeswitch.org/confluence" target="_blank" class="">https://freeswitch.org/confluence</a><br clear="none" class=""><a shape="rect" href="https://cluecon.com/" target="_blank" class="">https://cluecon.com</a><br clear="none" class=""><br clear="none" class="">FreeSWITCH-users mailing list<br clear="none" class=""><a shape="rect" ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" href="mailto:FreeSWITCH-users@lists.freeswitch.org" class="">FreeSWITCH-users@lists.freeswitch.org</a><br clear="none" class=""><a shape="rect" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank" class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br clear="none" class="">UNSUBSCRIBE:<a shape="rect" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank" class="">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br clear="none" class=""><a shape="rect" href="https://freeswitch.com/" target="_blank" class="">https://freeswitch.com</a></div></div>
            </div>
        </div></div></div></div></blockquote></div><br class=""></div></div></body></html>