Advertisement

compile c & python

Started by July 06, 2003 08:17 AM
3 comments, last by athos_musketeer 21 years, 4 months ago
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.
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.

Advertisement
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?
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.
If you are referring to the same problem that you asked about in the scripting languages forum, please see my reply:


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]

This topic is closed to new replies.

Advertisement