Dynamic Libraries - Asterisk - CentOS5
Hello all and mtia.
I decided to test out a few new items within Asterisk 1.4.18 (Swift,Flite). So I set up a test box, pretty much a vanilla CentOS 5.1(a few various updates). Asterisk also is pretty much vanilla except tha addons package. After installing Swift and Flite I needed to update /etc/ld.so.conf, I did Code:
$ cat /etc/ld.so.conf Code:
CLI>]load app_swift.so Code:
ls -Al /usr/lib/asterisk/modules/app_swift.so Code:
ls -Al /usr/local/lib/ Code:
ps aux | grep asterisk Code:
ldd /usr/lib/asterisk/modules/app_swift.so So I guess my question is, how can I get Asterisk to properly find my libraries? Kinda stumped here. mtia and will gladly provide more info if asked. |
Did you restart Asterisk after running ldconfig? What does 'ldconfig -p | grep libswift' return? And 'ldd /usr/sbin/asterisk | grep libswift'? Does running ldd on app_swift.so with exported "LD_LIBRARY_PATH=/opt/swift/lib" work (if that's where I think libswift.so.4 resides)?
|
Thanks for the reply unSpawn.
Quote:
Quote:
Quote:
Code:
[root@testrig ~]# ldd /usr/lib/asterisk/modules/app_swift.so Code:
CLI> module load app_swift.so mtia |
Quote:
|
Hello unSpawn and thanks. Sorry for the late reply but I have had strep throat for the last few days :[
Yes it was a source build but I only did the standard compile mantra no extra arguments thrown to the compiler. ./configure && make && make install The swift package says it is asterisk 1.4 compatable, if you feel so inclined the description is below in the link. http://www.loopfree.net/app_swift/ I have tried a few other source compiles of different packages while trying to get TTS(Text to Speech) software used within asterisk. The packages compile fine but as you noticed getting asterisk to see them is a different story I guess. Which is odd as on other production machines (Fedora 6) I have not had this problem, although I have not tried these specific packages but items like RX and TXfax. I have not seen anything in the logs(could be me, will look closer). Yeh I have tried up to 7 verbosity level always the same thing. Thanks again. |
All times are GMT -5. The time now is 07:39 PM. |