|
From: | Ghislain MARY |
Subject: | Re: [Linphone-developers] Python API Compilation problems |
Date: | Fri, 5 Feb 2016 17:02:28 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 |
Hi Loïc, The problem is we don't have a build system for raspberry PI 2 yet. I updated the wiki page https://wiki.linphone.org/wiki/index.php/Raspberrypi:start to have the build instructions we are now using to build the raspberry PI wheel package. In fact the main problem you have is that you are building the linphone dependencies as shared libraries whereas you should build them as static libraries. I suppose you are building directly on the raspberry PI 2, right? If that is so, you can try the following: git clone --recursive git://git.linphone.org/linphone-desktop.git cd linphone-desktop python prepare.py --python make However, I fear that there will be some ARM related issues with these method. Tell me if it works or not. At the end, when you execute the ldd command, you should get something like (this is on a 64bit desktop, but you get the idea, the only shared libraries that we build that appear here are the ffmpeg ones): linux-vdso.so.1 (0x00007ffe933c7000) libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007fb35d5cf000) librt.so.1 => /usr/lib/librt.so.1 (0x00007fb35d3c7000) libdl.so.2 => /usr/lib/libdl.so.2 (0x00007fb35d1c3000) libasound.so.2 => /usr/lib/libasound.so.2 (0x00007fb35cebb000) libavcodec.so.53 => /home/ghislain/pyenv/virt2/lib/python2.7/site-packages/linphone/./libavcodec.so.53 (0x00007fb35cbbd000) libavutil.so.51 => /home/ghislain/pyenv/virt2/lib/python2.7/site-packages/linphone/./libavutil.so.51 (0x00007fb35c999000) libswscale.so.2 => /home/ghislain/pyenv/virt2/lib/python2.7/site-packages/linphone/./libswscale.so.2 (0x00007fb35c76d000) libX11.so.6 => /usr/lib/libX11.so.6 (0x00007fb35c42b000) libXv.so.1 => /usr/lib/libXv.so.1 (0x00007fb35c226000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007fb35bea3000) libm.so.6 => /usr/lib/libm.so.6 (0x00007fb35bba5000) libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007fb35b98f000) libc.so.6 => /usr/lib/libc.so.6 (0x00007fb35b5ea000) /usr/lib64/ld-linux-x86-64.so.2 (0x000055a58f8ee000) libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007fb35b3c7000) libXext.so.6 => /usr/lib/libXext.so.6 (0x00007fb35b1b4000) libXau.so.6 => /usr/lib/libXau.so.6 (0x00007fb35afb0000) libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007fb35adaa000) Hope this helps, Ghislain On 02/05/2016 02:37 AM, Loïc Maudou
wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |