• Popular Now

• 13
• 18
• 19
• 27
• 9

Archived

This topic is now archived and is closed to further replies.

compile c & python

This topic is 5368 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

Recommended Posts

i made a little c program that embebs python. but i can''t find a way to link it. i can''t find the so file needed. have any of you had the same problem? thanks a lot.

Share on other sites
nav@seeker:~\$ find /usr/lib -name ''libpython*''/usr/lib/python2.2/config/libpython2.2-pic.a/usr/lib/python2.2/config/libpython2.2.a/usr/lib/python2.2/config/libpython2.2.so/usr/lib/libpython2.2.so.0.0/usr/lib/libpython2.2.so

In other words, one would normally link Python 2.2 with -lpython2.2.

Share on other sites
there''s no libpython*.so in mi linux. i installed the rpms and also compiled a tar distribution.
but no libpython*.so is there.

i already look for it. really.
maybe a place where i can look for it? python.org?

Share on other sites
Did you install the "-devel" RPM if there was one? You can find tons of RPMs online at RPMfind, but I expect you''d also be able to find Python development RPMs at Python.org.

Share on other sites

http://www.gamedev.net/community/forums/topic.asp?topic_id=166532

I think the reason you are getting an error about a missing .so file is because of the flags you are using at compile time...

-- Aaron

| HollowWorks.com |

[edited by - mrhollow on July 8, 2003 1:48:23 PM]