[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] Error linking belle-sip on Ubuntu Linux

From: Alexander Khrustal
Subject: [Linphone-developers] Error linking belle-sip on Ubuntu Linux
Date: Wed, 26 Oct 2016 13:22:23 +0300
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0

Sorry I am new to Linphone and C/C++ building tools on Linux, so my question could sound trivial.
But I already made a lot of different  attempts and now feel like in a dead end.

I am trying to compile belle-sip on Ubuntu server 16.04.1 LTS the following way:
# git clone
# cd belle-sip
# ./
# ./configure
# make

make will give a an error on linking stage, which looks like it can't find external library (I suspect bctoolbox).
and it happens only in tester directory.

Log details:

make[2]: Entering directory '/home/alexander/belle-sip/tester'
  CC       belle_sip_tester-auth_helper_tester.o
  CC       belle_sip_tester-belle_generic_uri_tester.o
  CC       belle_sip_tester-belle_http_tester.o
  CC       belle_sip_tester-belle_sdp_tester.o
  CC       belle_sip_tester-belle_sip_core_tester.o
  CC       belle_sip_tester-belle_sip_dialog_tester.o
  CC       belle_sip_tester-belle_sip_headers_tester.o
  CC       belle_sip_tester-belle_sip_message_tester.o
  CC       belle_sip_tester-belle_sip_refresher_tester.o
  CC       belle_sip_tester-belle_sip_register_tester.o
  CC       belle_sip_tester-belle_sip_resolver_tester.o
  CC       belle_sip_tester-belle_sip_tester.o
  CC       belle_sip_tester-belle_sip_uri_tester.o
  CC       belle_sip_tester-cast_test.o
  CCLD     belle_sip_tester
belle_sip_tester-auth_helper_tester.o: In function `bctbx_warning':
/usr/local/include/bctoolbox/logging.h:134: undefined reference to `bctbx_logv'
and then a lot of similar errors

I have already successfully build
bctoolbox in the previous step using the same chain of command:
# git clone
# ./
# ./configure
# make
# sudo make install
# ldconfig

Which gave me the following message:
Libraries have been installed in:

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to 'cd'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and manual pages.

I have tried the following flag:
# ./configure --prefix=/usr/local/lib
With no success.

Please help,
Kind Regards,
Alexander Khrustal

reply via email to

[Prev in Thread] Current Thread [Next in Thread]