linphone-developers
[Top][All Lists]
Advanced

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

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


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

Thank you very much for your response. It encouraged me to go to the end.

After a lot of efforts I've managed to build it easily first on 32 bit Ubuntu, then my existing 64 bit Ubuntu.

By some mysterious  reason it failed to compile on my other Ubuntu 64 image, similar to the first one.

I had different errors from my initial problem, though I followed exact steps as in two previous success.

Finally after a day + a night of effort I've manage to build it.

Main secret: install on dependencies on Ubuntu.

Kind Regards,

Alexander Khrustal


On 26/10/2016 14:34, Blanco Hugo wrote:

I also found the process incredibly difficult. But I was able to compile it on a MAC the OS was El Capitan.

 

From: Linphone-developers [mailto:address@hidden] On Behalf Of Alexander Khrustal
Sent: Wednesday, October 26, 2016 6:22 AM
To: address@hidden
Subject: [Linphone-developers] Error linking belle-sip on Ubuntu Linux

 

Hello,
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 https://github.com/BelledonneCommunications/belle-sip.git
# cd belle-sip
# ./autogen.sh
# ./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 https://github.com/BelledonneCommunications/bctoolbox.git
# ./autogen.sh
# ./configure
# make
# sudo make install
# ldconfig

Which gave me the following message:
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

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 ld.so(8) manual pages.
----------------------------------------------------------------------

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

Please help,
Kind Regards,
Alexander Khrustal



_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers


reply via email to

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