[Pythonmac-SIG] pythonw and python with applescript

Zhi Peng zhiyong_peng2003 at yahoo.com
Wed Dec 14 01:45:52 CET 2005


See if I go the right direction. 
   
  On Wed, I will use my old code to build .so file which is run on Linux. See what happen. 
   
  I used swig and get name.so file and get rid of error message. When I start python or pythonw and import name
  from command line, it just hang there. It is interesting (not show any error). I would rather write a little more code on this part. On Linux, it generate name.so, is it same name style on MAc ? any difference? Thanks Bob and others. 
   
   
  Regards 
   
  Zhi 
  

Bob Ippolito <bob at redivi.com> wrote:
  On Dec 13, 2005, at 3:59 PM, Zhi Peng wrote:

> As I tried to make shared dynamic library, ld command shows some 
> error message
>
> ld: Undefined symbols:
> dyld_stub_binding_helper
>
> I do not know which lib including this "dyld_stub_binding_helper" 
> even though I used "nm" to find it. The list libs that I used is
> -L/usr/lib -L/usr/local/lib -lpython -lc -lm -lSystemStubs - 
> lSystem_profile
>
> It may need more lib? anyone knoew. This may be old problem that 
> people had.

Use distutils to compile extensions. Don't try and do it manually.

-bob

  


			
---------------------------------
Yahoo! Shopping
 Find Great Deals on Holiday Gifts at Yahoo! Shopping 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/pythonmac-sig/attachments/20051213/1039f15c/attachment.htm


More information about the Pythonmac-SIG mailing list