Looks like the GSM codec plugin build dynamically links to the gsm
library. Speex plugin had that issue. Take a look at the sipXmediaLib/
src/mp/codecs/plgspeex/Makefile.am and sipXmediaLib/config/general.m4
files to see how that was done. Looking at the commit log via viewsvn
will help - http://scm.sipfoundry.org/rep/sipX/branches/sipXtapi/sipXmediaLib
Those static speex linkage changes were recent (2 weeks ago now I think)
If you get static linking working, can you provide a patch back to the
mailing list so we can check it in?
Thanks Tarun.
On Jan 19, 2008, at 5:30, "tarun thakur" <[EMAIL PROTECTED]>
wrote:
Hi All,
I have built sipXtapi library modules on ubuntu (Fiesty). I' m using
its .so (shared object) files to call its functions.
My application runs through mozilla firefox and I have put shared
libraries in
mozilla-firefox/plugins directory.
I have built codecs plugin shared library also and using them in the
directory where my application's firefox HTML page is placed.
I have also tried to keep shared libraries in /usr/lib directory and
i have also run "ldconfig " command to create their links.
My application is properly using methods of this shared object files
for user registration and unregistration on our local asterisk
server. My application can receive and hangup call also without any
problem that makes me feel that codecs are correctly built.
I get error if i try to run my application on fresh ubuntu machine
where i didn't built sipXtapi. I m using shared library files (that
are built on other machine) in fresh ubuntu machine. Problem occurs
when I hits firefox and it tries to load my application page, then
at application HTML page opening, "missing Installed Plugins" popup
gets shown.
On terminal, i get error shown below :
LoadPlugin : failed to initialze shared libraries /usr/lib/mozilla-
firefox/plugins/codec_ilbc.so [libgsm.so.1 : cannot open shared
object file ]
I think it needs libgsm package to get installed, so it means
everybody who is using sipXtapi needs to install libgsm. I think it
is needed when we build sipXtapi because it is dependency package
that is needed d while building sipXmediaLib. After building
sipXtapi, application should use shared library 's .so files.
I don't know where's problem lying.
Please help,
i'm really stuck.
Kindly, reply as soon as possible.
Thanku very much,
Tarun.
_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/
_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/