<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">
      <div id="rwhMsgHeader">kaiduan - when you _built_ freeswitch, did
        you make sure it built using the extra libs you installed
        manually?<br>
      </div>
      <div><br>
      </div>
      <div>I do custom builds of all of the dependent libs on my box
        (ubuntu 16), and install into /local/fslibs/install, and then
        during build I use:</div>
      <div><br>
      </div>
      <div>    export
        PKG_CONFIG_PATH=/local/fslibs/install/lib/pkgconfig:/usr/share/pkgconfig<br>
            cd /local/freeswitch/src<br>
            ./configure -C --disable-fhs
        --prefix=/local/freeswitch/server<br>
      </div>
      <div><br>
      </div>
      <div>At that point I don't have to set any env vars to get FS to
        launch. <br>
      </div>
      <div><br>
      </div>
      <div>-- Nathan<br>
        <hr id="rwhMsgHdrDivider" style="border:0;border-top:1px solid
          #B5C4DF;padding:0;margin:10px 0 5px 0;width:100%;"><span
          style="margin: -1.3px 0 0 0 !important;"><font style="font:
            13px Tahoma !important; color: #000000 !important;"
            face="Tahoma" color="#000000"><b>From:</b> Michael Jerris
            <a class="moz-txt-link-rfc2396E" href="mailto:mike@jerris.com"><mike@jerris.com></a></font></span><br>
        <span style="margin: -1.3px 0 0 0 !important;"><font
            style="font: 13px Tahoma !important; color: #000000
            !important;" face="Tahoma" color="#000000"><b>Sent:</b> Thu,
            Sep 6, 2018 4:04 AM CDT</font></span><br>
        <span style="margin: -1.3px 0 0 0 !important;"><font
            style="font: 13px Tahoma !important; color: #000000
            !important;" face="Tahoma" color="#000000"><b>To:</b>
            FreeSWITCH Users Help
            <a class="moz-txt-link-rfc2396E" href="mailto:freeswitch-users@lists.freeswitch.org"><freeswitch-users@lists.freeswitch.org></a></font></span><br>
        <span style="margin: -1.3px 0 0 0 !important;"><font
            style="font: 13px Tahoma !important; color: #000000
            !important;" face="Tahoma" color="#000000"><b>Subject:</b>
            [Freeswitch-users] mod_flite fails due to undefined symbol:
            cmu_lex_init</font></span><br>
        <br>
      </div>
    </div>
    <blockquote type="cite"
      cite="mid:61573118-9C8A-42D0-B680-1EBCCCFFEECE@jerris.com"
      style="border:none !important; margin-left:0px !important;
      margin-right:0px !important; margin-top:0px !important;
      padding-left:0px !important; padding-right:0px !important">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      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="" moz-do-not-send="true">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="" style="border:none
              !important; margin-left:0px !important; margin-right:0px
              !important; margin-top:0px !important; padding-left:0px
              !important; padding-right:0px !important">
              <div class="">On Sep 5, 2018, at 5:52 PM, kaiduan xie <<a
                  href="mailto:kaiduanx@yahoo.ca" class=""
                  moz-do-not-send="true">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="" moz-do-not-send="true">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 class=""
                                      clear="none">
                                  </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="" moz-do-not-send="true">http://files.freeswitch.org/downloads/libs/flite-2.0.0.tar.gz</a> and
                                    build it as below</div>
                                  <div class=""><br class=""
                                      clear="none">
                                  </div>
                                  <div class="">./configure
                                    --enable-shared</div>
                                  <div class="">make</div>
                                  <div class="">make install</div>
                                  <div class=""><br class=""
                                      clear="none">
                                  </div>
                                  <div class="">build and run
                                    freeswitch-1.8, the same error
                                    occurred again.</div>
                                  <div class=""><br class=""
                                      clear="none">
                                  </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 class=""
                                      clear="none">
                                  </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 class=""
                                        clear="none">
                                    </div>
                                    <div class="">/Kaiduan</div>
                                    <br class="" clear="none">
                                  </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=""
                                            moz-do-not-send="true">mike@jerris.com</a>>
                                          wrote: </div>
                                        <div class=""><br class=""
                                            clear="none">
                                        </div>
                                        <div class=""><br class=""
                                            clear="none">
                                        </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
                                                class="yiv9635000179"
                                                clear="none">
                                              <div class=""><br
                                                  class="yiv9635000179"
                                                  clear="none">
                                                <blockquote
                                                  class="yiv9635000179"
                                                  type="cite"
                                                  style="border:none
                                                  !important;
                                                  margin-left:0px
                                                  !important;
                                                  margin-right:0px
                                                  !important;
                                                  margin-top:0px
                                                  !important;
                                                  padding-left:0px
                                                  !important;
                                                  padding-right:0px
                                                  !important">
                                                  <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"
moz-do-not-send="true">freeswitch-users@lists.freeswitch.org</a>>
                                                    wrote:</div>
                                                  <br
                                                    class="yiv9635000179Apple-interchange-newline"
                                                    clear="none">
                                                  <div
                                                    class="yiv9635000179"><br
class="yiv9635000179" clear="none">
                                                    <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"
moz-do-not-send="true">kaiduanx@yahoo.ca</a>><br
                                                          class="yiv9635000179"
                                                          clear="none">
                                                        </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
class="yiv9635000179" clear="none">
                                                        </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
class="yiv9635000179" clear="none">
                                                        </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"
moz-do-not-send="true">freeswitch-users@lists.freeswitch.org</a>><br
class="yiv9635000179" clear="none">
                                                        </span></div>
                                                      <br
                                                        class="yiv9635000179"
                                                        clear="none">
                                                      <br
                                                        class="yiv9635000179"
                                                        clear="none">
                                                      <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
                                                          class="yiv9635000179"
                                                          clear="none">
                                                          </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
                                                          class="yiv9635000179"
                                                          clear="none">
                                                          </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
class="yiv9635000179" clear="none">
                                                          </div>
                                                          Any idea to
                                                          solve this
                                                          issue?</div>
                                                          <div
                                                          class="yiv9635000179"
                                                          style=""><br
                                                          class="yiv9635000179"
                                                          clear="none">
                                                          </div>
                                                          <div
                                                          class="yiv9635000179"
                                                          style="">Many
                                                          thanks,</div>
                                                          <div
                                                          class="yiv9635000179"
                                                          style=""><br
                                                          class="yiv9635000179"
                                                          clear="none">
                                                          </div>
                                                          <div
                                                          class="yiv9635000179"
                                                          style="">/Kaiduan</div>
                                                          <br
                                                          class="yiv9635000179"
                                                          clear="none">
                                                          </div>
                                                        </div>
                                                      </div>
                                                    </div>
                                                    <br
                                                      class="yiv9635000179"
                                                      clear="none">
                                                    <br
                                                      class="yiv9635000179"
                                                      clear="none">
_________________________________________________________________________<br
class="yiv9635000179" clear="none">
                                                    Professional
                                                    FreeSWITCH Services<br
class="yiv9635000179" clear="none">
                                                    <a rel="nofollow"
                                                      shape="rect"
                                                      class="yiv9635000179"
ymailto="mailto:sales@freeswitch.com" target="_blank"
                                                      href="mailto:sales@freeswitch.com"
moz-do-not-send="true">sales@freeswitch.com</a><br class="yiv9635000179"
                                                      clear="none">
                                                    <a
                                                      href="https://freeswitch.com"
                                                      class=""
                                                      moz-do-not-send="true">https://freeswitch.com</a><br
class="yiv9635000179" clear="none">
                                                    <br
                                                      class="yiv9635000179"
                                                      clear="none">
                                                    Official FreeSWITCH
                                                    Sites<br
                                                      class="yiv9635000179"
                                                      clear="none">
<a class="moz-txt-link-freetext" href="https://freeswitch.com/oss">https://freeswitch.com/oss</a><br class="yiv9635000179" clear="none">
<a class="moz-txt-link-freetext" href="https://freeswitch.org/confluence">https://freeswitch.org/confluence</a><br class="yiv9635000179" clear="none">
                                                    <a class="moz-txt-link-freetext" href="https://cluecon.com">https://cluecon.com</a><br
class="yiv9635000179" clear="none">
                                                    <br
                                                      class="yiv9635000179"
                                                      clear="none">
                                                    FreeSWITCH-users
                                                    mailing list<br
                                                      class="yiv9635000179"
                                                      clear="none">
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br class="yiv9635000179"
                                                      clear="none">
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br
                                                      class="yiv9635000179"
                                                      clear="none">
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br
class="yiv9635000179" clear="none">
<a class="moz-txt-link-freetext" href="https://freeswitch.com">https://freeswitch.com</a></div>
                                                </blockquote>
                                              </div>
                                              <br class="yiv9635000179"
                                                clear="none">
                                            </div>
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                          <div class="yqt5830741987" id="yqt47956">_________________________________________________________________________<br
                              class="" clear="none">
                            Professional FreeSWITCH Services<br class=""
                              clear="none">
                            <a shape="rect"
                              ymailto="mailto:sales@freeswitch.com"
                              href="mailto:sales@freeswitch.com"
                              class="" moz-do-not-send="true">sales@freeswitch.com</a><br
                              class="" clear="none">
                            <a shape="rect"
                              href="https://freeswitch.com/"
                              target="_blank" class=""
                              moz-do-not-send="true">https://freeswitch.com</a><br
                              class="" clear="none">
                            <br class="" clear="none">
                            Official FreeSWITCH Sites<br class=""
                              clear="none">
                            <a shape="rect"
                              href="https://freeswitch.com/oss"
                              target="_blank" class=""
                              moz-do-not-send="true">https://freeswitch.com/oss</a><br
                              class="" clear="none">
                            <a shape="rect"
                              href="https://freeswitch.org/confluence"
                              target="_blank" class=""
                              moz-do-not-send="true">https://freeswitch.org/confluence</a><br
                              class="" clear="none">
                            <a shape="rect" href="https://cluecon.com/"
                              target="_blank" class=""
                              moz-do-not-send="true">https://cluecon.com</a><br
                              class="" clear="none">
                            <br class="" clear="none">
                            FreeSWITCH-users mailing list<br class=""
                              clear="none">
                            <a shape="rect"
                              ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org"
href="mailto:FreeSWITCH-users@lists.freeswitch.org" class=""
                              moz-do-not-send="true">FreeSWITCH-users@lists.freeswitch.org</a><br
                              class="" clear="none">
                            <a shape="rect"
                              href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
                              target="_blank" class=""
                              moz-do-not-send="true">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br
                              class="" clear="none">
                            UNSUBSCRIBE:<a shape="rect"
                              href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
                              target="_blank" class=""
                              moz-do-not-send="true">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br
                              class="" clear="none">
                            <a shape="rect"
                              href="https://freeswitch.com/"
                              target="_blank" class=""
                              moz-do-not-send="true">https://freeswitch.com</a></div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </blockquote>
          </div>
          <br class="">
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_________________________________________________________________________
Professional FreeSWITCH Services
<a class="moz-txt-link-abbreviated" href="mailto:sales@freeswitch.com">sales@freeswitch.com</a>
<a class="moz-txt-link-freetext" href="https://freeswitch.com">https://freeswitch.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="https://freeswitch.com/oss">https://freeswitch.com/oss</a>
<a class="moz-txt-link-freetext" href="https://freeswitch.org/confluence">https://freeswitch.org/confluence</a>
<a class="moz-txt-link-freetext" href="https://cluecon.com">https://cluecon.com</a>

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="https://freeswitch.com">https://freeswitch.com</a></pre>
    </blockquote>
    <pre class="moz-signature" cols="120">-- 
------------------------------------------------------------
Nathan Neulinger                       <a class="moz-txt-link-abbreviated" href="mailto:nneul@mst.edu">nneul@mst.edu</a>
Missouri S&T Information Technology    (573) 612-1412
System Administrator - Architect       
</pre>
  </body>
</html>