OpenWrt Forum Archive

Topic: Package asterisk18 is missing dependencies for the following libraries

The content of this topic has been archived on 7 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi Guys,

I am tiring to compile1.8 with dahdi support and am getting the following error
--------------------------------
Package asterisk18 is missing dependencies for the following libraries
libtonezone.so.2.0
--------------------------------
I have added libtonezone to my Makefile

define Package/asterisk18
$(call Package/asterisk18/Default)
  TITLE:=Complete open source PBX, v1.8x
  MENU:=1
  DEPENDS:= +libtonezone +libopenssl +libncurses +libpopt +libpthread +zlib @!TARGET_avr32
endef

--------------------------------
I have libtonezone share objects  in  my staging dir (I have build dahdi_tools which provides libtonezone)

OpenWRT$ ls staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/lib/libtonezone.so* -la
-rwxr-xr-x 1 dpenev dpenev 195490 Sep 28 23:56 staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/lib/libtonezone.so
lrwxrwxrwx 1 dpenev dpenev     14 Oct 12 02:00 staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/lib/libtonezone.so.2.0 -> libtonezone.so
--------------------------------
I don't have libtonezone in my asterisk18.provide file
staging_dir/target-mips_r2_uClibc-0.9.33.2/pkginfo/asterisk18.provides

Can you please point me to the issue?

Thanks
Dimitar

Hello,

I have managed to solve it.
I had to modify using the full libtonezone package name

DEPENDS:= +dahdi-tools-libtonezone +libopenssl +libncurses +libpopt +libpthread +zlib @!TARGET_avr32

Dimitar

The discussion might have continued from here.