From: Dan Armak <danarmak@gentoo.org>
To: gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] What provides -lpython2.2 ? (needed for koffice)
Date: Sun, 20 Jan 2002 19:18:05 +0200 [thread overview]
Message-ID: <0GQ8000C3YWK92@mxout1.netvision.net.il> (raw)
In-Reply-To: <1011532559.1134.6.camel@nosferatu.lan>
On Sunday 20 January 2002 15:15, you wrote:
> On Sun, 2002-01-20 at 12:59, Juergen Ilse wrote:
> > Hello,
> >
> > On Sun, Jan 20, 2002 at 10:46:53AM +0200, Martin Schlemmer wrote:
> > > On Sun, 2002-01-20 at 00:41, Juergen Ilse wrote:
> > > > On Sat, Jan 19, 2002 at 09:44:39PM +0200, Dan Armak wrote:
> > > > > I haven't been able to find this myself either. What does provide
> > > > > -lpython2.2? Python doesn't install any libs according to its
> > > > > CONTENTS, but -lpython2.2 is in the python-config output.
> > > >
> > > > The static library mentioned above has the name libpython2.2.a
> > > > I didn't find a shared version of this library.
> >
> > ^^^^^^
> >
> > > it is here:
> > > /usr/lib/python2.2/config/libpython2.2.a
> >
> > I already mentioned the place where to find the static version of this
> > library. libpython2.2.a is *not* a shared library but a static one.
> > I don*t know, if a shared version of this library is possible, but
> > until now, there is no shared version.
>
> Out of the 'ld' manpage:
>
> -------------------cut here----------------------------------
> -larchive
> --library=archive
> Add archive file archive to the list of files to link. This
> option may be used any number of times. ld will search its path-
> list for occurrences of "libarchive.a" for every archive
> specified.
>
> On systems which support shared libraries, ld may also
> search for libraries with extensions other than ".a". Specifically, on
> ELF and SunOS systems, ld will search a directory for a
> library with an extension of ".so" before searching for one with an
> extension of ".a". By convention, a ".so" extension
> indicates a shared library.
> ------------------cut here-----------------------------------
>
> Meaning, that -lpython2.2 can be libpython2.2.a *or*
> libpython2.2.so, depending on if it is linked static or
> dynamic.
>
> I check the CONTENTS of 2.0 against 2.2, and the only thing
> that differs, is that Makefile.pre.in was not installed, which
> is fixed now.
>
> Bottom line: koffice's build scripts is broken, or we need
> to create a symlink from
> /usr/lib/python2.2/config/libpython2.2.a to
> /usr/lib/libpython2.2.a
>
> Anybody else have an idea ?
I put in a fix into the koffice ebuild a few hours ago that simply adds -L
/usr/lib/python2.2/config.
The real fix should be to add the -L ... to the output of our python-config
script. I'm about to do that.
--
Dan Armak
Gentoo Linux, Desktop Team
Matan, Israel
next prev parent reply other threads:[~2002-01-20 17:20 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-19 19:44 [gentoo-dev] What provides -lpython2.2 ? (needed for koffice) Dan Armak
2002-01-19 22:41 ` Juergen Ilse
2002-01-20 8:46 ` Martin Schlemmer
2002-01-20 10:59 ` Juergen Ilse
2002-01-20 11:28 ` Vitaly Kushneriuk
2002-01-20 13:15 ` Martin Schlemmer
2002-01-20 17:18 ` Dan Armak [this message]
2002-01-20 17:21 ` Dan Armak
2002-01-20 17:50 ` Dan Armak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0GQ8000C3YWK92@mxout1.netvision.net.il \
--to=danarmak@gentoo.org \
--cc=gentoo-dev@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox