El Viernes, 10 de Septiembre de 2004 05:13 PM, Satish Balay escribió: > On Fri, 10 Sep 2004, Preston wrote: > > El Viernes, 10 de Septiembre de 2004 04:02 PM, Satish Balay escribió: > > > On Fri, 10 Sep 2004, Preston wrote: > > > > Im trying to compile an app that uses python libs, but I cant find > > > > the correct library name to link it. Can somebody tell me what is the > > > > name of python shared libs in FC2? > > > > > > try 'slocate libpython' > > > > Not that name, I mean the name used to link in gcc (like -lSDL, -lpython) > > What do you mean? > > On FC1 I have: > [asterix]: slocate libpython > /usr/lib/python2.2/config/libpython2.2.a > /usr/lib/ooo-1.1/program/libpython.so > /usr/lib/ooo-1.1/program/libpython.so.2 > /usr/lib/ooo-1.1/program/libpython.so.2.2.2 > > So, you could use either: > /usr/lib/python2.2/config/libpython2.2.a > or > -L/usr/lib/python2.2/config -lpython2.2 > > If your really needs the shared library variant - you could try the > following and see if it works: > > -L/usr/lib/ooo-1.1/program -lpython What I need is to link libs to use code generated by SWIG, statically or dinamically. -- ru guo ni yao ai, ni jiang bu hui shi qu