[SIP Beyond VoIP] Sipsimple i386 build

Mihai Richard mihai.richard at softvision.ro
Wed Nov 9 18:09:54 CET 2011


I followed the build instructions in the Install.osx-10.6 so sipsimple was
built using sudo python setup.py build_ext --pjsip-clean-compile

The output from lipo -info is "Non-fat file: _core.so is architecture:
x86_64"

Regards,
Mihai Richard

On 11/9/11 7:01 PM, "Saúl Ibarra Corretgé" <saul at ag-projects.com> wrote:

> Hi,
> 
> On Nov 9, 2011, at 5:53 PM, Mihai Richard wrote:
> 
>> Hello
>> 
>> I have a 64 bit Mac and I am having a hard time building sipsimple for a
>> 32bit architecture. I have tried to do > export SIPSIMPLE_OSX_ARCH="i386" but
>> the resulting core.so file from the build directory is still a x86_64
>> library. Could you give me some directions on how can I get a 32 bit build.
>> I need a 32 bit build of the sipsimple because I¹m trying to integrate
>> sipsimple in a C++ project and when PyRun_SimpleString(³from mymodule import
>> *²) executes I get ImportError:
>> dlopen(/Library/Python/2.6/site-packages/sipsimple/core/_core.so, 2): no
>> suitable image found.  Did find:
>>     /Library/Python/2.6/site-packages/sipsimple/core/_core.so: mach-o, but
>> wrong architecture
>> 
> 
> What commands did you use to build it?
> 
> Can you paste the output of lipo -info _core.so ?
> 
> Regards,
> 
> --
> Saúl Ibarra Corretgé
> AG Projects
> 
> 
> 




More information about the SIPBeyondVoIP mailing list