[Voiceglue] Issue with Vxglue while installing voiceglue.0.9 on RHEL 5
Doug Campbell
voiceglue at campbellcastle.com
Mon Feb 9 14:03:22 EST 2009
Charbel Fadel wrote:
> I'm trying to install voiceglue so I can add vxml interface to asterisk
> on RHEL 5. I have an issue with the Vxglue, it seems it is not well
> linked with the js library:
> [root at TrainingAll Vxglue]# pkg-config --libs mozilla-js
>
> -L/usr/lib/xulrunner-sdk-1.9/sdk/lib
This looks pretty obviously wrong.
The "pkg-config --libs" should print out both the library directories
(the -L stuff) and the library names themselves (the -l stuff).
That's why, later, it can't link, because the -l stuff is missing:
> gcc -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386
> -mtune=generic -fasynchronous-unwind-tables -L/usr/local/lib -o
> blib/arch/auto/Vxglue/Vxglue.so lib/Vxglue.o -lSBjsiD -lSBtrdD -lSBcharD
> -lSBlogD -lSBlogMapperD -lSBcacheD -lSBinetD -lVXIvalueD -lVXID
> -lVXItelD -lVXIclientD -lVXIpromptD -lVXIrecD -lvglue
> -L/usr/lib/xulrunner-sdk-1.9/sdk/lib -lstdc++ -lpthread -ldl
> '/usr/src/voiceglue_0.9/Vxglue/blib/arch/auto/Vxglue/Vxglue.so' for
> module Vxglue: /usr/lib/libSBjsiD.so.3: undefined symbol:
> JS_PropertyStub at
> /usr/lib/perl5/5.8.8/i386-linux-thread-multi/DynaLoader.pm line 230.
I've noticed several errors in distributions regarding their
provided .pc files. Mu guess is that RHEL 5 messed up on this one.
To fix it, you're going to have to figure out what the proper
flags are to link against SpiderMonkey (the Mozilla javascript
library).
Doug Campbell
More information about the Voiceglue
mailing list