From: Martin Schlemmer <azarah@gentoo.org>
To: Gentoo-Dev <gentoo-dev@gentoo.org>
Subject: Re: [gentoo-dev] What provides -lpython2.2 ? (needed for koffice)
Date: 20 Jan 2002 15:15:48 +0200 [thread overview]
Message-ID: <1011532559.1134.6.camel@nosferatu.lan> (raw)
In-Reply-To: <20020120115918.A32759@ilse.asys-h.de>
[-- Attachment #1: Type: text/plain, Size: 2332 bytes --]
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 ?
Greetings,
--
Martin Schlemmer
Gentoo Linux Developer, Desktop Team Developer
Cape Town, South Africa
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 232 bytes --]
next prev parent reply other threads:[~2002-01-20 11:15 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 [this message]
2002-01-20 17:18 ` Dan Armak
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=1011532559.1134.6.camel@nosferatu.lan \
--to=azarah@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