返回列表 發帖

Asterisk 11 formal release (QNAP NAS TS-269 Pro Installation)

本帖最後由 角色 於 2012-10-29 00:00 編輯

Just downloaded the tarball of Asterisk 11 from the Asterisk Official website and carried out the compilation process. When I execute the scripts
  1. [/usr] # /opt/asterisk-11/sbin/asterisk
  2. /opt/asterisk-11/sbin/asterisk: error while loading shared libraries: libasteriskssl.so.1: cannot open shared object file: No such file or directory
複製代碼
This error could be removed by a number of ways as described in Link which are summarised below:

0088.png

Since I would like to see the compilation result then I chose the second method, it gave:

0087.png

Later I would like to switch back to use the first method.

I carried the re-compilation process with the following script in order to get rid of the additional environment setting:
  1. LDFLAGS="-Wl,-rpath,/opt/asterisk-11/lib" ./configure --prefix=/opt/asterisk-11
複製代碼
If we open the file "/opt/asterisk-11/var/lib/asterisk/message", we have

0091.png

The missing libraries are being kept in /opt/lib. Once we tell the system, the loadable library path = /opt/lib (shown below) and followed by restarting the asterisk, we are able to get speex and speex16 codecs and other error message were gone.
  1. export LD_LIBRARY_PATH=/opt/lib
複製代碼
The error message in "/opt/asterisk-11/var/lib/asterisk/message" is

0092.png

After having applied the above processes, we carried out the command "core show translation", we got

0090.png

回復 1# 角色

正好這兩天在香港真係set機set到暈! 特別係Synology本身個Asterisk真係有問題, 會突然間唔見了一D setting! 等我遲D有時間自己tar個Asterisk落去.
Welcome to my TaoBao shop: http://mandymak520.taobao.com/

TOP

回復 2# 雯雯

如果下载你在香港再有问题,call我嘛!不过你现在的功力已经提升很多,其他member都说Synology的Asterisk好像有问题,不错你的深圳Synology的Asterisk却没有说有问题!

TOP

回復 1# 角色


   
Just for informatin, if we use the workarounds 4 as below, there is no need to recall the library path "export LD_LIBRARY_PATH=/opt/lib" as you advised.


./configure --prefix=/opt/asterisk-11 --disable-asteriskssl


However, I don't know which one is the best and what will be the impact if we disable asteriskssl in the cofiguration process.

TOP

回復 3# 角色

唉! 回港有其他事忙! 從香港回來大陸又有好多事忙! 等過幾日有時間再慢慢搞.
Welcome to my TaoBao shop: http://mandymak520.taobao.com/

TOP

回復 5# 雯雯

因为你现在知道怎样edit NAS里的file,所以对你来说没有难度。

如果出现有什么问题,可以说出来,然后我为你解答。

TOP

回復 1# 角色

我剛剛在Synology DS107+ tar Asterisk 11也有相同的error!
Welcome to my TaoBao shop: http://mandymak520.taobao.com/

TOP

如果你安裝的路徑跟我一樣是 /opt/src/asterisk/asterisk-11,那麼,compile 時可以打:

LDFLAGS="-Wl,-rpath,/opt/asterisk-11/lib" ./configure --prefix=/opt/asterisk-11

可以解決該error問題。

TOP

是否QNAP和Synology的ipkg不一样呢?

TOP

回復 9# 角色

剛剛試了第4個方法都係唔得!
Welcome to my TaoBao shop: http://mandymak520.taobao.com/

TOP

回復 10# 雯雯

真的不知道是否Synology的arm environment跟QNAP不一样。你的情况我真的没有遇过,都不知道怎样帮你了。

TOP

你看我们都是这样invoke的:
  1. [/opt/etc/asterisk] # /opt/asterisk-11/sbin/asterisk
  2. [/opt/etc/asterisk] # /opt/asterisk-11/sbin/asterisk -rvvvvvvvvv
  3. Asterisk 11.0.0, Copyright (C) 1999 - 2012 Digium, Inc. and others.
  4. Created by Mark Spencer <markster@digium.com>
  5. Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
  6. This is free software, with components licensed under the GNU General Public
  7. License version 2 and other licenses; you are welcome to redistribute it under
  8. certain conditions. Type 'core show license' for details.
  9. =========================================================================
  10.   == Parsing '/opt/asterisk-11/etc/asterisk/asterisk.conf': Found
  11.   == Parsing '/opt/asterisk-11/etc/asterisk/extconfig.conf': Found
  12. Connected to Asterisk 11.0.0 currently running on TWTS-269PRO (pid = 8968)
  13. TWTS-269PRO*CLI>
複製代碼

TOP

返回列表