<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">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' 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't think that's the issue, and it didn'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"><<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>></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 class="h5"><br>
> On Oct 9, 2015, at 11:52 AM, Carlos Fererro <<a href="mailto:carlos4fsint@gmail.com">carlos4fsint@gmail.com</a>> wrote:<br>
><br>
> Hello,<br>
><br>
> I am trying to build mod_flite module on Ubuntu 14.01 and unfortunately with no luck.<br>
> The build is looking for the FLITE engine library version 2.0.0 or higher. And consequently suggests installing<br>
> libflite-dev library. Which I built from source (flite-2.0.0-release.tar.bz2 tarball) as there is no FLITE library<br>
> version 2.0.0 in the official distribution available (at least I could not find it).<br>
> Unfortunately no matter where I install the FLITE engine library I build (by default it goes under /usr/local/..)<br>
> FreeSWITCH build doesn't seem to find it.<br>
><br>
> Needless to say I have zero problem building mod_flite module in the older releases of the FreeSWITCH, where<br>
> FLITE library tarball (I believe it was 1.5.7) was part of the FreeSWITCH distribution and was built automatically<br>
> as part of the FreeSWITCH build.<br>
><br>
> Seems me that FreeSWITCH wants to find an FLITE library in the form of the shared library, not .a file as it<br>
> 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>
> issue.<br>
><br>
> Greatly appreciate any help on the subject<br>
> Carlos<br>
</div></div>> _________________________________________________________________________<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>
<br>
<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></div></div></div>