----------------------------------------------------------------------------------------------------------------------
[OpenIMSCore-Users] PROBLEM WITH ICSCF AND SCSCF STARTING
Thu Dec 29 22:19:55 CET 2011
Previous message: [OpenIMSCore-Users] Fwd: How are you...
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello,
I've just googled some old post from October 2011, describing an issue
with crashing I-CSCF and S-CSCF. The log message was something like:
0(2142) ERROR: load_module: could not open module /opt/OpenIMSCore/ser_ims/
modules/cdp/cdp.so>: /opt/OpenIMSCore/ser_ims/modules/cdp/cdp.so: undefined symbol: sem_post
I managed to fix this issue on Ubuntu 11.10. It seems that UBUNTU,
required linking cdp.so against pthread. Below you can find a simple patch:
Index: modules/cdp/Makefile
===================================================================
--- Makefile (revision 1175)
+++ Makefile (working copy)
@@ -20,7 +20,7 @@
endif
DEFS += -I/usr/include/libxml2
-LIBS += -L$(LOCALBASE)/lib -lxml2 -lrt
+LIBS += -L$(LOCALBASE)/lib -lxml2 -lrt -lpthread
include ../../Makefile.modules