<div dir="ltr"><div><font color="#000000">My exact problem is described <a href="http://lists.kamailio.org/pipermail/sr-users/2013-January/076554.html">here,</a> but the thread never explains how to solve the problem, </font></div>
<div><font color="#0000ff"><b><br></b></font></div><div><font color="#0000ff"><b>"here" = </b></font><a href="http://lists.kamailio.org/pipermail/sr-users/2013-January/076554.html">http://lists.kamailio.org/pipermail/sr-users/2013-January/076554.html</a></div>
<div><font color="#0000ff"><b><br></b></font></div><div><font color="#0000ff"><b>Description of the issue: </b></font></div><div>1. Installing Kamailio 4.1 (latest download) on a <b>64 bit</b> Linux Mint version 16 Petra</div>
<div>2. The system compiles cleanly. I have included MAKE and Make Install info below</div><div>3.  <b>ims_registrar_pcscf.so will not load</b></div><div>4. <b> ims_qos.so will not load</b></div><div>5. As an FYI, cdp.so successfully loads. I mention this because cdp.so uses semaphore but does not have the sem_post problem. I compared cdp.so with <a href="http://ims_registrar.pcscf.so">ims_registrar.pcscf.so</a> Makefiles to see if there was something obvious, but no luck.</div>
<div>6. As an FYI, I get the exact same error from a debian apt-get install, so using the canned Debian solution won't work for me either.</div><div>7. The config file I used is the one included with the system which I completed with some info just for testing. I have attached it purely as FYI but I don't think that is the issue.</div>
<div><br></div><div><b><font color="#0000ff">Parts of the syslog messages relevant for issue</font></b></div><div><div>Jan 26 22:03:21 PC03 kamailio: ERROR: <core> [sr_module.c:599]: load_module(): ERROR: load_module: could not open module </lib64/kamailio/modules/ims_qos.so>: /lib64/kamailio/modules<font color="#ff0000">/<b>ims_qos.so:</b> <b>undefined symbol: sem_post</b></font></div>
<div><br></div><div>Jan 26 22:03:21 PC03 kamailio: ERROR: <core> [sr_module.c:599]: load_module(): ERROR: load_module: could not open module </lib64/kamailio/modules/ims_registrar_pcscf.so>: /lib64/kamailio/modules<font color="#ff0000">/<b>ims_registrar_pcscf.so</b>: <b>undefined symbol: sem_post</b></font></div>
</div><div><br></div><div><br></div><div><b><font color="#0000ff">Relevent section of MAKE</font></b></div><div><div><div>CC (gcc) [M ims_qos.so]<span class="" style="white-space:pre">            </span>cdpeventprocessor.o</div><div>
CC (gcc) [M ims_qos.so]<span class="" style="white-space:pre">                </span>mod.o</div><div>CC (gcc) [M ims_qos.so]<span class="" style="white-space:pre">               </span>rx_aar.o</div><div>CC (gcc) [M ims_qos.so]<span class="" style="white-space:pre">            </span>rx_asr.o</div>
<div>CC (gcc) [M ims_qos.so]<span class="" style="white-space:pre">             </span>rx_authdata.o</div><div>CC (gcc) [M ims_qos.so]<span class="" style="white-space:pre">               </span>rx_avp.o</div><div>CC (gcc) [M ims_qos.so]<span class="" style="white-space:pre">            </span>rx_str.o</div>
<div>CC (gcc) [M ims_qos.so]<span class="" style="white-space:pre">             </span>stats.o</div><div>make[2]: `libkcore.so.1.0' is up to date.</div><div>make[2]: `libkamailio_ims.so.0.1' is up to date.</div><div>LD (gcc) [M ims_qos.so]<span class="" style="white-space:pre">              </span>ims_qos.so</div>
</div><div><br></div><div>CC (gcc) [M ims_registrar_pcscf.so]<span class="" style="white-space:pre">            </span>async_reginfo.o</div><div>CC (gcc) [M ims_registrar_pcscf.so]<span class="" style="white-space:pre">         </span>reg_mod.o</div>
<div>CC (gcc) [M ims_registrar_pcscf.so]<span class="" style="white-space:pre">         </span>save.o</div><div>CC (gcc) [M ims_registrar_pcscf.so]<span class="" style="white-space:pre">          </span>service_routes.o</div><div>CC (gcc) [M ims_registrar_pcscf.so]<span class="" style="white-space:pre">                </span>ul_callback.o</div>
<div>make[2]: `libkcore.so.1.0' is up to date.</div><div>make[2]: `libkamailio_ims.so.0.1' is up to date.</div><div>LD (gcc) [M ims_registrar_pcscf.so]<span class="" style="white-space:pre">          </span>ims_registrar_pcscf.so</div>
<div>CC (gcc) [M ims_registrar_scscf.so]<span class="" style="white-space:pre">         </span>api.o</div><div>CC (gcc) [M ims_registrar_scscf.so]<span class="" style="white-space:pre">           </span>common.o</div><div>CC (gcc) [M ims_registrar_scscf.so]<span class="" style="white-space:pre">                </span>config.o</div>
<div>CC (gcc) [M ims_registrar_scscf.so]<span class="" style="white-space:pre">         </span>cxdx_avp.o</div><div>CC (gcc) [M ims_registrar_scscf.so]<span class="" style="white-space:pre">              </span>cxdx_callbacks.o</div><div>CC (gcc) [M ims_registrar_scscf.so]<span class="" style="white-space:pre">                </span>cxdx_sar.o</div>
<div>CC (gcc) [M ims_registrar_scscf.so]<span class="" style="white-space:pre">         </span>lookup.o</div><div>CC (gcc) [M ims_registrar_scscf.so]<span class="" style="white-space:pre">                </span>path.o</div><div>CC (gcc) [M ims_registrar_scscf.so]<span class="" style="white-space:pre">          </span>registrar_notify.o</div>
<div>CC (gcc) [M ims_registrar_scscf.so]<span class="" style="white-space:pre">         </span>reg_mod.o</div><div>CC (gcc) [M ims_registrar_scscf.so]<span class="" style="white-space:pre">               </span>regpv.o</div><div>CC (gcc) [M ims_registrar_scscf.so]<span class="" style="white-space:pre">         </span>regtime.o</div>
<div>CC (gcc) [M ims_registrar_scscf.so]<span class="" style="white-space:pre">         </span>reply.o</div><div>CC (gcc) [M ims_registrar_scscf.so]<span class="" style="white-space:pre">         </span>rerrno.o</div><div>CC (gcc) [M ims_registrar_scscf.so]<span class="" style="white-space:pre">                </span>save.o</div>
<div>CC (gcc) [M ims_registrar_scscf.so]<span class="" style="white-space:pre">         </span>server_assignment.o</div><div>CC (gcc) [M ims_registrar_scscf.so]<span class="" style="white-space:pre">             </span>sip_msg.o</div><div>
CC (gcc) [M ims_registrar_scscf.so]<span class="" style="white-space:pre">            </span>stats.o</div><div>CC (gcc) [M ims_registrar_scscf.so]<span class="" style="white-space:pre">         </span>userdata_parser.o</div><div>CC (gcc) [M ims_registrar_scscf.so]<span class="" style="white-space:pre">               </span>usrloc_cb.o</div>
</div><div><br></div><div>----------------------------------------------------------------------------------------------------</div><div><b><font color="#0000ff">Make Install</font></b></div><div><div>LD (gcc) [M ims_icscf.so]<span class="" style="white-space:pre">               </span>ims_icscf.so</div>
<div>make[2]: Nothing to be done for `install-if-newer'.</div><div>make[2]: Nothing to be done for `install-if-newer'.</div><div>make[2]: Nothing to be done for `install-if-newer'.</div><div>touch           //lib64/kamailio/modules/ims_icscf.so</div>
<div>install -m 755  ims_icscf.so  //lib64/kamailio/modules</div><div>make[2]: `libkcore.so.1.0' is up to date.</div><div>make[2]: `libkamailio_ims.so.0.1' is up to date.</div><div>LD (gcc) [M ims_qos.so]<span class="" style="white-space:pre">         </span>ims_qos.so</div>
<div>make[2]: Nothing to be done for `install-if-newer'.</div><div>make[2]: Nothing to be done for `install-if-newer'.</div><div>touch           //lib64/kamailio/modules/ims_qos.so</div><div>install -m 755  ims_qos.so  //lib64/kamailio/modules</div>
<div>make[2]: `libkcore.so.1.0' is up to date.</div><div>make[2]: `libkamailio_ims.so.0.1' is up to date.</div><div>LD (gcc) [M ims_registrar_pcscf.so]<span class="" style="white-space:pre">          </span>ims_registrar_pcscf.so</div>
<div>make[2]: Nothing to be done for `install-if-newer'.</div><div>make[2]: Nothing to be done for `install-if-newer'.</div><div>touch           //lib64/kamailio/modules/ims_registrar_pcscf.so</div><div>install -m 755  ims_registrar_pcscf.so  //lib64/kamailio/modules</div>
</div><div><br></div></div>