On Feb 24, 2013, at 2:09 PM, ecir hana wrote:

> and running "file python33" says:
> 
>    python33 (for architecture i386): Mach-O dynamically linked shared
> library i386
>    python33 (for architecture x86_64): Mach-O 64-bit dynamically linked
> shared library x86_64
> 
> The problem I have is that when try to run:
> 
>    "gcc embed.c -I./include -L. -lpython33"
> 
> if breaks with:
> 
>    ld: library not found for -lpython33
> 
> Please, does anyone know why?

The -l option expects a file with the prefix "lib" and a library suffix.  So, 
-lpython33 requires that the file be named libpython33.<something> (where 
something might be dylib or a or possibly a couple of other things).

When you have issues like this, you might try passing -v for verbose output.  
It would probably tell you precisely which file names it tried.

Regards,
Ken


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to