Python module - Ubuntu 12.04 64bit

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

 



Hi Vali,

Many thanks! Managed to build Python module on Ubuntu 12.04 64bit just fine :)

Regards,
Chris

On 11 March 2013 07:55, Tom?? Valenta <vali at kamarad.cz> wrote:
> Hi Chris,
>
> I managed to build it under Ubuntu 12.04 64bit two weeks ago. Here is my
> shell session:
>
> wget http://www.pjsip.org/release/2.0.1/pjproject-2.0.1.tar.bz2
> tar -xjf pjproject-2.0.1.tar.bz2
> cd pjproject-2.0.1/
> ./configure CFLAGS=-fPIC CPPFLAGS=-fPIC
> make dep
> make
> cd pjsip-apps/src/python
> make
> sudo python setup.py install
>
> Good luck,
> - Vali
>
>
> Dne 10.3.2013 21:10, Chris Maciejewski napsal(a):
>>
>> Hi,
>>
>> I am trying to build Python module following instructions here:
>>
>> http://trac.pjsip.org/repos/wiki/Python_SIP/Build_Install
>>
>> On Ubuntu 12.04 32bit it works just fine, however on 64bit version I
>> am getting error as below:
>>
>> $ python
>> Python 2.7.3 (default, Aug  1 2012, 05:14:39)
>> [GCC 4.6.3] on linux2
>> Type "help", "copyright", "credits" or "license" for more information.
>>>>>
>>>>> import pjsua
>>
>> Traceback (most recent call last):
>>    File "<stdin>", line 1, in <module>
>>    File "/usr/local/lib/python2.7/dist-packages/pjsua.py", line 59, in
>> <module>
>>      import _pjsua
>> ImportError: /usr/local/lib/python2.7/dist-packages/_pjsua.so:
>> undefined symbol: pjsua_start
>>
>> Perhaps need to change build target to x64 somewhere?
>>
>> Any suggestions how to fix this very much appreciated,
>>
>> Regards,
>> Chris
>>



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux