<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">All good GM, no inconvenience, just a minor gotcha ;)<div>I am unable to compile mod_gsmopen though.</div><div><br></div><div>It complains about not being able to find ctb-0.16</div><div>The actual filename is libctbd-0.16.so in /usr/local/lib as you can see from the 2nd lot of stuff.</div><div><br></div><div>How do I fix this?</div><div><br></div><div><br></div><div><div><font class="Apple-style-span" face="'Courier New'">[root@space mod_gsmopen]# make install</font></div><div><font class="Apple-style-span" face="'Courier New'">Creating mod_gsmopen.so...</font></div><div><font class="Apple-style-span" face="'Courier New'">/usr/bin/ld: cannot find -lctb-0.16</font></div><div><font class="Apple-style-span" face="'Courier New'">collect2: ld returned 1 exit status</font></div><div><font class="Apple-style-span" face="'Courier New'">g++ -I../../../../libs/spandsp/src -I../../../..//libs/tiff-3.8.2/libtiff -DGSMOPEN_C_VER=\"44fd0de\" -DMODGSMOPEN_C_VER=\"44fd0de\" -I/usr/src/freeswitch/libs/curl/include -I/usr/src/freeswitch/src/include -I/usr/src/freeswitch/src/include -I/usr/src/freeswitch/libs/libteletone/src -fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -O2 -D_GNU_SOURCE -shared -o .libs/mod_gsmopen.so -shared -Wl,-x .libs/mod_gsmopen.o gsmopen_protocol.o /usr/src/freeswitch/.libs/libfreeswitch.so -L/usr/src/freeswitch/libs/apr-util/xml/expat/lib /usr/src/freeswitch/libs/apr-util/xml/expat/lib/.libs/libexpat.a /usr/src/freeswitch/libs/apr/.libs/libapr-1.a -luuid -lpthread -L/usr/src/freeswitch/libs/srtp -L/usr/kerberos/lib -lcrypt -lrt -lssl -lcrypto -ldl -lncurses -L/usr/src/freeswitch/libs/spandsp/src /usr/src/freeswitch/libs/spandsp/src/.libs/libspandsp.a -L/usr/src/freeswitch/libs/tiff-3.8.2/libtiff /usr/src/freeswitch/libs/tiff-3.8.2/libtiff/.libs/libtiff.a -ljpeg -lz -lm -lc -lctb-0.16 -lgsmme -Wl,--rpath -Wl,/usr/local/freeswitch/lib -Wl,--rpath -Wl,/usr/local/freeswitch/mod</font></div><div><font class="Apple-style-span" face="'Courier New'">make[1]: *** [mod_gsmopen.so] Error 1</font></div><div><font class="Apple-style-span" face="'Courier New'">make: *** [install] Error 1</font></div></div><div><br></div><div><br></div><div><br></div><div><div><font class="Apple-style-span" face="'Courier New'">[root@space mod_gsmopen]# ldd /usr/local/lib/libctbd-0.16.so</font></div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" face="'Courier New'">        </font></span><font class="Apple-style-span" face="'Courier New'">linux-gate.so.1 => (0x00754000)</font></div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" face="'Courier New'">        </font></span><font class="Apple-style-span" face="'Courier New'">libpthread.so.0 => /lib/libpthread.so.0 (0x00e83000)</font></div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" face="'Courier New'">        </font></span><font class="Apple-style-span" face="'Courier New'">libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00d28000)</font></div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" face="'Courier New'">        </font></span><font class="Apple-style-span" face="'Courier New'">libm.so.6 => /lib/libm.so.6 (0x00964000)</font></div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" face="'Courier New'">        </font></span><font class="Apple-style-span" face="'Courier New'">libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00e1f000)</font></div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" face="'Courier New'">        </font></span><font class="Apple-style-span" face="'Courier New'">libc.so.6 => /lib/libc.so.6 (0x00110000)</font></div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" face="'Courier New'">        </font></span><font class="Apple-style-span" face="'Courier New'">/lib/ld-linux.so.2 (0x003ea000)</font></div></div><div><br></div><div><br></div><div><br><div><div>On 14/05/2012, at 6:44 PM, Giovanni Maruzzelli wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>yes, it requires libspandsp, maybe the Makefile it's not yet tweaked<br>to build the library automatically.<br><br>So, please first build mod_spandsp, then mod_gsmopen.<br><br>We'll fixx the Makefile soon, sorry for the inconvenience.<br><br>-giovanni<br><br>On Mon, May 14, 2012 at 9:30 AM, Chris Mylonas <<a href="mailto:chris@opencsta.org">chris@opencsta.org</a>> wrote:<br><blockquote type="cite">Hi FS List,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">FYI - as a shortcut to building my freeswitch, I skip spandsp - but it looks<br></blockquote><blockquote type="cite">like this mod_gsmopen wants it in there.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">[root@space build]# cd /usr/src/freeswitch/src/mod/endpoints/mod_gsmopen/<br></blockquote><blockquote type="cite">[root@space mod_gsmopen]# make clean<br></blockquote><blockquote type="cite">[root@space mod_gsmopen]# make install<br></blockquote><blockquote type="cite">Compiling gsmopen_protocol.cpp...<br></blockquote><blockquote type="cite">Compiling<br></blockquote><blockquote type="cite">/usr/src/freeswitch/src/mod/endpoints/mod_gsmopen/mod_gsmopen.cpp...<br></blockquote><blockquote type="cite">mkdir .libs<br></blockquote><blockquote type="cite">Compiling /usr/src/freeswitch/src/mod/endpoints/mod_gsmopen/mod_gsmopen.cpp<br></blockquote><blockquote type="cite">...<br></blockquote><blockquote type="cite">Creating mod_gsmopen.so...<br></blockquote><blockquote type="cite">/usr/bin/ld: cannot find -lspandsp<br></blockquote><blockquote type="cite">collect2: ld returned 1 exit status<br></blockquote><blockquote type="cite">g++ -I../../../../libs/spandsp/src -I../../../..//libs/tiff-3.8.2/libtiff<br></blockquote><blockquote type="cite">-DGSMOPEN_C_VER=\"44fd0de\" -DMODGSMOPEN_C_VER=\"44fd0de\"<br></blockquote><blockquote type="cite">-I/usr/src/freeswitch/libs/curl/include -I/usr/src/freeswitch/src/include<br></blockquote><blockquote type="cite">-I/usr/src/freeswitch/src/include -I/usr/src/freeswitch/libs/libteletone/src<br></blockquote><blockquote type="cite">-fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g<br></blockquote><blockquote type="cite">-O2 -D_GNU_SOURCE -shared -o .libs/mod_gsmopen.so -shared -Wl,-x<br></blockquote><blockquote type="cite">.libs/mod_gsmopen.o gsmopen_protocol.o -lm<br></blockquote><blockquote type="cite">/usr/src/freeswitch/.libs/libfreeswitch.so<br></blockquote><blockquote type="cite">-L/usr/src/freeswitch/libs/apr-util/xml/expat/lib<br></blockquote><blockquote type="cite">/usr/src/freeswitch/libs/apr-util/xml/expat/lib/.libs/libexpat.a<br></blockquote><blockquote type="cite">/usr/src/freeswitch/libs/apr/.libs/libapr-1.a -luuid -lpthread<br></blockquote><blockquote type="cite">-L/usr/src/freeswitch/libs/srtp -L/usr/kerberos/lib -lcrypt -lrt -lssl<br></blockquote><blockquote type="cite">-lcrypto -ldl -lz -lncurses -ljpeg -L/usr/src/freeswitch/libs/spandsp/src<br></blockquote><blockquote type="cite">-lspandsp -lctb-0.16 -lgsmme -Wl,--rpath -Wl,/usr/local/freeswitch/lib<br></blockquote><blockquote type="cite">-Wl,--rpath -Wl,/usr/local/freeswitch/mod<br></blockquote><blockquote type="cite">make[1]: *** [mod_gsmopen.so] Error 1<br></blockquote><blockquote type="cite">make: *** [install] Error 1<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">_________________________________________________________________________<br></blockquote><blockquote type="cite">Professional FreeSWITCH Consulting Services:<br></blockquote><blockquote type="cite"><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br></blockquote><blockquote type="cite"><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br></blockquote><blockquote type="cite"><a href="http://www.cudatel.com">http://www.cudatel.com</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Official FreeSWITCH Sites<br></blockquote><blockquote type="cite"><a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br></blockquote><blockquote type="cite"><a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><br></blockquote><blockquote type="cite"><a href="http://www.cluecon.com">http://www.cluecon.com</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">FreeSWITCH-users mailing list<br></blockquote><blockquote type="cite"><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br></blockquote><blockquote type="cite"><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br></blockquote><blockquote type="cite">UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br></blockquote><blockquote type="cite"><a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br></blockquote><blockquote type="cite"><br></blockquote><br><br><br>-- <br>Sincerely,<br><br>Giovanni Maruzzelli<br>Cell : +39-347-2665618<br><br>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>http://www.freeswitchsolutions.com<br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>http://www.cudatel.com<br><br>Official FreeSWITCH Sites<br>http://www.freeswitch.org<br>http://wiki.freeswitch.org<br>http://www.cluecon.com<br><br>FreeSWITCH-users mailing list<br>FreeSWITCH-users@lists.freeswitch.org<br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org<br></div></blockquote></div><br></div></body></html>