Hello,

I'm not sure if this is the right forum, but I'm having problem
running a simple program that uses the sofia-sip-ua dynamic library.
Following the instructions at
http://wiki.opensource.nokia.com/projects/SofiaTutorial, I get this
output when running the hello-callee (or the hello-caller):

./hello-callee
./hello-callee: error while loading shared libraries:
libsofia-sip-ua.so.0: cannot open shared object file: No such file or
directory

Running ldd gives:

ldd hello-callee
        linux-gate.so.1 =>  (0xffffe000)
        libsofia-sip-ua.so.0 => not found
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7e03000)
        /lib/ld-linux.so.2 (0xb7f4e000)

I guess the second line is a bad sign. I can't understand why it can't
find the library though, since the pkg-config command embedded in the
Makefile's build command  (see the tutorial) gives this output:

pkg-config sofia-sip-ua --cflags --libs
-I/usr/local/include/sofia-sip-1.12  -L/usr/local/lib -lsofia-sip-ua

and the library IS indeed located in /usr/local/lib:

ls -l /usr/local/lib/libsofia-sip-ua.so.0
lrwxrwxrwx 1 root root 24 2007-08-29 11:39
/usr/local/lib/libsofia-sip-ua.so.0 -> libsofia-sip-ua.so.0.5.0

ls -l /usr/local/lib/libsofia-sip-ua.so.0.5.0
-rwxr-xr-x 1 root root 4580722 2007-08-29 11:39
/usr/local/lib/libsofia-sip-ua.so.0.5.0

I'm running a Kubuntu Linux system with a pretty much default setup. Any ideas?

//Jonatan

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to