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 <[EMAIL PROTECTED]> 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
_______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig