linphone编译过程问题及其解决方法

1:./configure配置            

                问题       

        (1)  No package 'gtk+-2.0' found
                  sudo apt-get install libgtk2.0-dev
        (2) configure: error: Could not find osip2 headers !
                     sudo apt-get install libosip2-dev
       (3)
failed to with "configure: error: "Could not find libreadline headers or library"
                     apt-get install libreadline5-dev
        (4) fail with "checking for SPEEX... configure: error: Package requirements (speex >= 1.1.6) were not met:"
                     apt-get install libspeex-dev
        (5)  fail with "configure: error: Could not find eXosip2 headers !"
                     apt-get install libeXosip2-dev

        (6)    configure: error: Could not find libavcodec (from ffmpeg) headers and library. This is mandatory for video support
                configure: error: ./configure failed for mediastreamer2
                    sudo apt-get install libavcodec-dev

        (7)    configure: error: Could not find libswscale (from ffmpeg) headers and library. This is mandatory for video support
                   configure: error: ./configure failed for mediastreamer2

                sudo apt-get install libswscale-dev

        (8)    configure: error: No X video output API found. Please install X11+Xv headers.
              configure: error: ./configure failed for mediastreamer2

            sudo apt-get install libxv-dev libx11-dev

        (9) Missing libv4l2. It is highly recommended to build with
            libv4l2 headers and library. Many camera will won't work or will crash
            your application if libv4l2 is not installed.
            If you know what you are doing, you can use --disable-libv4l2 to disable
            this check.

            sudo apt-get install libv4l-dev

            我到这里,所有的问题都编译过去了!会提示一下东西

            * GTK interface will be compiled.
            * Console interface will be compiled.
            Now type 'make' to compile, and then 'make install' as root to install it.

  2:make

  3:sudo make install(一定要sudo )

 

运行linphone

        问题:

        假如在运行linphone或linphonec出现如下问题:

        

        error while loading shared libraries: libgearman.so.1等

        就运行以下命令

         /sbin/ldconfig -v

            

ldconfig命令的用途,主要是在默认搜寻目录(/lib和/usr/lib)以及动态库配置文件/etc/ld.so.conf内所列的目录 下,搜索出可共享的动态链接库(格式如前介绍,lib*.so*),进而创建出动态装入程序(ld.so)所需的连接和缓存文件.缓存文件默认为/etc /ld.so.cache,此文件保存已排好序的动态链接库名字列表.

ldconfig通常在系统启动时运行,而当用户安装了一个新的动态链接库时,就需要手工运行这个命令
  • 3
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值