Re: python lib name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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

Satish

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux