Jump to content
  • Advertisement

Archived

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

athos_musketeer

compile c & python

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

If you intended to correct an error in the post then please contact us.

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 this post


Link to post
Share on other sites
Advertisement

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 this post


Link to post
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 this post


Link to post
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 this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!