<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Open bsd does not support static linking? thats the problem... its not properly linking the modules.. in foact, it should not even need to link that in here... just to the core</div><div><br></div><div>Mike</div><div><br></div><div><br></div>*** Warning: This system can not link to static lib archive /usr/src/freeswitch-snapshot/libs/apr/<a href="http://libapr-1.la/">libapr-1.la</a>.<br>*** I have the capability to make that library automatically link in when<br>*** you link to this library. But I can only do this if you have a<br>*** shared version of the library, which you do not appear to have.<br>*** But as you try to build a module library, libtool will still create <br>*** a static module, that should work as long as the dlopening application<br>*** is linked with the -dlopen flag to resolve symbols at runtime.<br><div><div><br></div><div><br></div><div>On Jul 14, 2008, at 1:11 PM, Mucker wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi Brian,<br><br>FreeBSD 7.0 from the CD set.<br><br>www# uname -a<br>FreeBSD foo.my.domain 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 <a href="mailto:root@logan.cse.buffalo.edu">root@logan.cse.buffalo.edu</a>:/usr/obj/usr/src/sys/GENERIC i386<br> <br>looks like the src is there.<br><br># ls -al /usr/src/freeswitch-snapshot/src/mod/endpoints/mod_sofia<br>total 3528<br>drwxr-xr-x 5 root wsrc 1024 Jul 14 11:02 .<br>drwxr-xr-x 11 root wsrc 512 May 3 06:17 ..<br> drwxr-xr-x 2 root wsrc 512 Jul 12 18:47 .deps<br>drwxr-xr-x 2 root wsrc 512 Jul 14 11:02 .libs<br>drwxr-xr-x 6 root wsrc 512 Jul 12 06:17 .svn<br>-rw-r--r-- 1 root wsrc 25929 Jul 12 18:42 Makefile<br> -rw-r--r-- 1 root wsrc 2696 Feb 19 06:17 Makefile.am<br>-rw-r--r-- 1 root wsrc 25852 Jul 12 13:52 Makefile.in<br>-rw-r--r-- 1 root wsrc 5447 Dec 13 2007 mod_sofia.2008.vcproj<br>-rw-r--r-- 1 root wsrc 74014 Jul 9 06:17 mod_sofia.c<br> -rw-r--r-- 1 root wsrc 22678 Jul 9 06:17 mod_sofia.h<br>-rw-r--r-- 1 root wsrc 1936 Jul 14 11:02 <a href="http://mod_sofia.la">mod_sofia.la</a><br>-rw-r--r-- 1 root wsrc 9801 Jul 12 18:47 mod_sofia.log<br> -rw-r--r-- 1 root wsrc 5405 Mar 20 05:17 mod_sofia.vcproj<br>-rw-r--r-- 1 root wsrc 357 Jul 12 18:46 mod_sofia_la-mod_sofia.lo<br>-rw-r--r-- 1 root wsrc 222784 Jul 12 18:46 mod_sofia_la-mod_sofia.o<br>-rw-r--r-- 1 root wsrc 345 Jul 12 18:46 mod_sofia_la-sofia.lo<br> -rw-r--r-- 1 root wsrc 291184 Jul 12 18:46 mod_sofia_la-sofia.o<br>-rw-r--r-- 1 root wsrc 360 Jul 12 18:46 mod_sofia_la-sofia_glue.lo<br>-rw-r--r-- 1 root wsrc 245536 Jul 12 18:46 mod_sofia_la-sofia_glue.o<br> -rw-r--r-- 1 root wsrc 372 Jul 12 18:46 mod_sofia_la-sofia_presence.lo<br>-rw-r--r-- 1 root wsrc 212700 Jul 12 18:46 mod_sofia_la-sofia_presence.o<br>-rw-r--r-- 1 root wsrc 357 Jul 12 18:47 mod_sofia_la-sofia_reg.lo<br> -rw-r--r-- 1 root wsrc 202980 Jul 12 18:47 mod_sofia_la-sofia_reg.o<br>-rw-r--r-- 1 root wsrc 127116 Jul 9 06:17 sofia.c<br>-rw-r--r-- 1 root wsrc 95362 Jul 9 06:17 sofia_glue.c<br>-rw-r--r-- 1 root wsrc 53080 Jul 4 06:17 sofia_presence.c<br> -rw-r--r-- 1 root wsrc 46626 Jul 10 06:17 sofia_reg.c<br><br># gmake <br>gmake `test -n "" || echo -s` all-am<br>Creating mod_sofia_la-mod_sofia.lo<br>mkdir .libs<br>Compiling mod_sofia.c ...<br>Creating mod_sofia_la-sofia.lo<br> Compiling sofia.c ...<br>Creating mod_sofia_la-sofia_glue.lo<br>Compiling sofia_glue.c ...<br>Creating mod_sofia_la-sofia_presence.lo<br>Compiling sofia_presence.c ...<br>Creating mod_sofia_la-sofia_reg.lo<br>Compiling sofia_reg.c ...<br> Creating <a href="http://mod_sofia.la">mod_sofia.la</a><br># gmake install<br>gmake `test -n "" || echo -s` install-am<br> echo ;/bin/sh /usr/src/freeswitch-snapshot/quiet_libtool --mode=install /usr/bin/install -c '<a href="http://mod_sofia.la">mod_sofia.la</a>' '/usr/local/freeswitch/mod/<a href="http://mod_sofia.la">mod_sofia.la</a>'<br> <br>quiet_libtool: install: warning: relinking `<a href="http://mod_sofia.la">mod_sofia.la</a>'<br>(cd /usr/src/freeswitch-snapshot/src/mod/endpoints/mod_sofia; /bin/sh /usr/src/freeswitch-snapshot/quiet_libtool --tag=CC --mode=relink gcc -I/usr/src/freeswitch-snapshot/src/include -I/usr/src/freeswitch-snapshot/libs/libteletone/src -fPIC -Werror -g -ggdb -I/usr/local/include -g -O2 -Wall -std=c99 -pedantic -o <a href="http://mod_sofia.la">mod_sofia.la</a> -rpath /usr/local/freeswitch/mod -avoid-version -module -no-undefined mod_sofia_la-mod_sofia.lo mod_sofia_la-sofia.lo mod_sofia_la-sofia_glue.lo mod_sofia_la-sofia_presence.lo mod_sofia_la-sofia_reg.lo /usr/src/freeswitch-snapshot/<a href="http://libfreeswitch.la">libfreeswitch.la</a> /usr/src/freeswitch-snapshot/libs/sofia-sip/libsofia-sip-ua/<a href="http://libsofia-sip-ua.la">libsofia-sip-ua.la</a> -lncurses ) <br> <br>*** Warning: This system can not link to static lib archive /usr/src/freeswitch-snapshot/libs/apr/<a href="http://libapr-1.la">libapr-1.la</a>.<br>*** I have the capability to make that library automatically link in when<br> *** you link to this library. But I can only do this if you have a<br>*** shared version of the library, which you do not appear to have.<br>*** But as you try to build a module library, libtool will still create <br>*** a static module, that should work as long as the dlopening application<br> *** is linked with the -dlopen flag to resolve symbols at runtime.<br>rm -fr .libs/mod_sofia.lax<br>mkdir .libs/mod_sofia.lax<br>rm -fr .libs/mod_sofia.lax/libsofia-sip-ua.a<br>mkdir .libs/mod_sofia.lax/libsofia-sip-ua.a<br> <br>Oh.....<br><br><br><br><div class="gmail_quote">2008/7/14 Brian West <<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>>:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div style="">Can you tell me which version of FreeBSD you installed on? Someone on IRC is reporting that the configure fails on libsndfile. <div><br></div><div>btw looks like the .so didn't install... can you see if the .so is in the src tree in the src/mod/endpoings/mod_sofia/.libs/mod_sofia.so? and manually install it? If thats the case then we need to find out why it didn't install.</div> <div><br></div><div>/b</div><div><br><div><div><div></div><div class="Wj3C7c"><div>On Jul 14, 2008, at 11:38 AM, Mucker wrote:</div><br></div></div><blockquote type="cite"><span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div> <div></div><div class="Wj3C7c">Hi All,<br><br>Anybody else trying to get Freeswitch up and running on OpenBSD?<br><br>Following the install instructions for FreeBSD "seems" to work.<br><br>But, when I start freeswitch I see a critical error:<br> <br> 2008-07-14 16:56:02 [CRIT] switch_loadable_module.c:751 switch_loadable_module_load_file() Error Loading module /usr/local/freeswitch/mod/mod_sofia.so<br>**File not found**<br><br><br># ls -al /usr/local/freeswitch/mod/ | grep sofia <span> </span><br> -rw-r--r-- 1 root wheel 7907294 Jul 14 11:02 mod_sofia.a<br>-rw-r--r-- 1 root wheel 1142 Jul 14 11:02<span> </span><a href="http://mod_sofia.la" target="_blank">mod_sofia.la</a><br>#<span> </span><br><br><br></div> </div>____</span></blockquote></div><br><font color="#888888"><div> <span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style=""> <div>Brian West</div><div><a>sip:brian@freeswitch.org</a></div><div><br></div></div></span><br> </div><br></font></div></div><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" 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><br> <br></blockquote></div><br> _______________________________________________<br>Freeswitch-users mailing list<br><a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><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></blockquote></div><br></body></html>