<div dir="ltr">Michael,<div><br></div><div>thank you very much for you help. I indeed had an older version of FLITE library installed on my machine.</div><div>But after I cleaned everything up - it build the mod_flite fine.</div><div><br></div><div>Thanks again</div><div>Carlos</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 9, 2015 at 11:11 AM, Michael Jerris <span dir="ltr">&lt;<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">freeswitch does need to link against the so, yes, pkg-config should handle that.  Is this a 32 vs 64 issue?  I suspect you have something weird with another version of flite installed too, and lib paths are different somehow on ubuntu so its finding the wrong one.  look for multiple libs installed.<div><div class="h5"><div><br><div><blockquote type="cite"><div>On Oct 9, 2015, at 1:06 PM, Carlos Fererro &lt;<a href="mailto:carlos4fsint@gmail.com" target="_blank">carlos4fsint@gmail.com</a>&gt; wrote:</div><br><div><div dir="ltr"><div><div><div><div><div>Hi Michael,<br><br></div>thank you so much for you reply. Yes, build of this library creates a pkgconfig directory with flite.pc and FreeSWITCH does recognize the version of the library it is looking for.<br><br></div>Just one more issue I encountered during the build:<br><br>  CC       mod_flite_la-mod_flite.lo<br>  CCLD     <a href="http://mod_flite.la/" target="_blank">mod_flite.la</a><br>/usr/bin/ld: /usr/local/lib/libflite.a(cst_wave.o): relocation R_X86_64_32 against `.rodata.str1.1&#39; can not be used when making a shared object; recompile with -fPIC<br>/usr/local/lib/libflite.a: error adding symbols: Bad value<br>collect2: error: ld returned 1 exit status<br><br></div>And I did try to recompile the FILTE library with -fPIC, although I don&#39;t think that&#39;s the issue, and it didn&#39;t help. So, does the FreeSWITCH wants to link against the .so library file? <br><br></div>Thanks again<br></div>Carlos<br><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 9, 2015 at 10:06 AM, Michael Jerris <span dir="ltr">&lt;<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">try this one:<br>
<br>
<a href="http://files.freeswitch.org/downloads/libs/flite-2.0.0.tar.gz" rel="noreferrer" target="_blank">http://files.freeswitch.org/downloads/libs/flite-2.0.0.tar.gz</a><br>
<div><div><br>
&gt; On Oct 9, 2015, at 11:52 AM, Carlos Fererro &lt;<a href="mailto:carlos4fsint@gmail.com" target="_blank">carlos4fsint@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Hello,<br>
&gt;<br>
&gt; I am trying to build mod_flite module on Ubuntu 14.01 and unfortunately with no luck.<br>
&gt; The build is looking for the FLITE engine library version 2.0.0 or higher. And consequently suggests installing<br>
&gt; libflite-dev library. Which I built from source (flite-2.0.0-release.tar.bz2 tarball) as there is no FLITE library<br>
&gt; version 2.0.0 in the official distribution available (at least I could not find it).<br>
&gt; Unfortunately no matter where I install the FLITE engine library I build (by default it goes under /usr/local/..)<br>
&gt; FreeSWITCH build doesn&#39;t seem to find it.<br>
&gt;<br>
&gt; Needless to say I have zero problem building mod_flite module in the older releases of the FreeSWITCH, where<br>
&gt; FLITE library tarball (I believe it was 1.5.7) was part of the FreeSWITCH distribution and was built automatically<br>
&gt; as part of the FreeSWITCH build.<br>
&gt;<br>
&gt; Seems me that FreeSWITCH wants to find an FLITE library in the form of the shared library, not .a file as it<br>
&gt; build from the source. Is there a solution already exists to this? As I am sure I am not the first one with this<br>
&gt; issue.<br>
&gt;<br>
&gt; Greatly appreciate any help on the subject<br>
&gt; Carlos<br>
</div></div>&gt; _________________________________________________________________________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com/" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://confluence.freeswitch.org/" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com/" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com/" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org/" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com/" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br></div></div></div></div>
_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services: <br><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br><a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br><br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br><a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br><a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br><br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></div></blockquote></div><br></div></div></div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>