程序运行时,调用动态库出错
gcc sip_test.c -L libeXosip/src/libs/ -losip2 -losipparser2 -leXosip2 -o test -g -Wall
程序编译成功了,但运行程序,程序直接退出
我用gdb调试:
Starting program: /mnt/sipsvr/test
[Thread debugging using libthread_db enabled]
[New Thread 0xb7fcc8e0 (LWP 28849)]
Breakpoint 1, main () at sip_test.c:58
58 printf("start\n");
(gdb) s
start
59 sipInit();
(gdb)
sipInit () at sip_test.c:14
14 exosip_ = eXosip_malloc();
(gdb)
eXosip_malloc () at eXconf.c:590
590 eXconf.c: No such file or directory.
in eXconf.c
(gdb)
eXosip_malloc()是我调的库中的函数,为什么调用到这就显示找不到文件?
哪位大哥能帮忙指点一下。