I think we have a repo that has this lib in it, we should probably try to get those patches in. Does anyone know if this lib is maintained upstream anymore or not?
On Monday, August 17, 2015, Luiz Fernando Softov <fernando@softov.com.br> wrote:
Kim Culhan,
if you want, send me a e-mail, and i reply with a tar.gz of libctb.16, with the patchs to compile in FreeBSD2015-08-17 19:21 GMT-04:00 Luiz Fernando Softov <fernando@softov.com.br>:I download LIBCTB, and recompile it, with some patches to compile in FreeBSD
I'm using version 1.5.15.
But i try with 1.4.19 1.4.20 and i get the same error when try to run gsmopen module- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2015-08-17 17:12:46.144556 [INFO] mod_enum.c:880 ENUM ReloadedError while reading shared library symbols:Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/local/lib/gcc48/libstdc++.so.6]2015-08-17 17:12:46.306630 [INFO] switch_time.c:1411 Timezone reloaded 1781 definitionsProgram received signal SIGSEGV, Segmentation fault.[Switching to Thread 80b83b400 (LWP 100313/freeswitch)]0x000000080fa74e14 in mod_gsmopen_load (module_interface=0x7ffffe90e9a8, pool=0x80b0ae028) at mod_gsmopen.cpp:18921892 running = 1;Current language: auto; currently c++(gdb)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -I try to install /usr/ports/lang/gcc and/or /usr/ports/lang/gcc47, and make links (because FreeBSD 10.1 don't have g++ ang gcc by default)
obs. /usr/ports/lang/gcc install gcc48ln -s /usr/local/bin/gcc48 /usr/local/bin/gccln -s /usr/local/bin/g++48 /usr/local/bin/g++
orln -s /usr/local/bin/gcc47 /usr/local/bin/gccln -s /usr/local/bin/g++47 /usr/local/bin/g++Then i make./configure --prefix=/brb_main/freeswitch --enable-core-pgsql-supportgmakegmake installThen i get these errorsfreeswitch@devostest> load mod_gsmopen2015-08-17 18:55:40.002449 [INFO] mod_enum.c:880 ENUM Reloaded2015-08-17 18:55:40.002449 [CRIT] switch_loadable_module.c:1447 Error Loading module /brb_main/freeswitch/mod/mod_gsmopen.so**/brb_main/freeswitch/mod/mod_gsmopen.so: Undefined symbol "_ZN6gsmlib10SMSMessage6decodeESsbPNS_5GsmAtE"**- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
I think its related with some depencencies
i check libs
> # ldd -v /brb_main/freeswitch/mod/mod_gsmopen.so/brb_main/freeswitch/mod/mod_gsmopen.so:libctb-0.16.so => /usr/local/lib/libctb-0.16.so (0x801b04000)libgsmme.so.1 => /usr/local/lib/libgsmme.so.1 (0x801d0e000)libfreeswitch.so.1 => /brb_main/freeswitch/lib/libfreeswitch.so.1 (0x801f87000)libpq.so.5 => /usr/local/lib/libpq.so.5 (0x802346000)libiconv.so.2 => /usr/local/lib/libiconv.so.2 (0x802574000)libthr.so.3 => /lib/libthr.so.3 (0x80286e000)libsqlite3.so.0 => /usr/local/lib/libsqlite3.so.0 (0x802a93000)libcurl.so.4 => /usr/local/lib/libcurl.so.4 (0x802d97000)libpcre.so.1 => /usr/local/lib/libpcre.so.1 (0x803000000)libspeex.so.1 => /usr/local/lib/libspeex.so.1 (0x803275000)libspeexdsp.so.1 => /usr/local/lib/libspeexdsp.so.1 (0x803490000)libedit.so.0 => /usr/local/lib/libedit.so.0 (0x8036a3000)libncurses.so.8 => /lib/libncurses.so.8 (0x8038dc000)libcrypt.so.5 => /lib/libcrypt.so.5 (0x803b29000)librt.so.1 => /usr/lib/librt.so.1 (0x803d49000)liblzma.so.5 => /usr/lib/liblzma.so.5 (0x803f4f000)libjpeg.so.8 => /usr/local/lib/libjpeg.so.8 (0x804174000)libz.so.6 => /lib/libz.so.6 (0x8043af000)libssl.so.7 => /usr/lib/libssl.so.7 (0x8045c5000)libcrypto.so.7 => /lib/libcrypto.so.7 (0x804830000)libstdc++.so.6 => /usr/local/lib/gcc48/libstdc++.so.6 (0x804c24000)libm.so.5 => /lib/libm.so.5 (0x804f2d000)libc.so.7 => /lib/libc.so.7 (0x80081f000)libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x805155000)libintl.so.8 => /usr/local/lib/libintl.so.8 (0x805363000)libheimntlm.so.11 => /usr/lib/libheimntlm.so.11 (0x80556e000)libhx509.so.11 => /usr/lib/libhx509.so.11 (0x805774000)libcom_err.so.5 => /usr/lib/libcom_err.so.5 (0x8059be000)libasn1.so.11 => /usr/lib/libasn1.so.11 (0x805bc0000)libwind.so.11 => /usr/lib/libwind.so.11 (0x805e5d000)libheimbase.so.11 => /usr/lib/libheimbase.so.11 (0x806085000)libroken.so.11 => /usr/lib/libroken.so.11 (0x806289000)libkrb5.so.11 => /usr/lib/libkrb5.so.11 (0x80649b000)libgssapi.so.10 => /usr/lib/libgssapi.so.10 (0x806713000)libgssapi_krb5.so.10 => /usr/lib/libgssapi_krb5.so.10 (0x80691c000)libheimipcc.so.11 => /usr/lib/private/libheimipcc.so.11 (0x806b3a000)I already tried to recompile all of these library, without success
Anyone know something about this?- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -2015-08-17 18:55 GMT-04:00 Michael Jerris <mike@jerris.com>:_________________________________________________________________________building that module requires some dependencies be installed, check the wiki for details
On Monday, August 17, 2015, Kim Culhan <w8hdkim@gmail.com> wrote:On Mon, August 17, 2015 5:16 pm, Luiz Fernando Softov wrote:> Hi, i am try to install FS in FreeBSD 10.1, but when i try to load> mod_gsmopen, its crashWhat FreeSWITCH version are you running?I attempted to build 1.4.20 with mod_gsmopen but the module fails to build:gmake[5]: Entering directory '/usr/local/src/freeswitch/freeswitch-1.4.20/src/mod/endpoints/mod_gsmopen'CXX mod_gsmopen_la-mod_gsmopen.loIn file included from mod_gsmopen.cpp:34:./gsmopen.h:103:10: fatal error: 'ctb-0.16/ctb.h' file not found#include "ctb-0.16/ctb.h"The path appears to be incorrect for ctb.h, I did not try to pursue that further.thanks-kim
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org----