From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DMARC_NONE,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=unavailable autolearn_force=no version=4.0.0 Received: from mxout1.netvision.net.il (mxout1.netvision.net.il [194.90.9.20]) by chiba.3jane.net (Postfix) with ESMTP id D29F824D4D for ; Sun, 20 Jan 2002 11:20:52 -0600 (CST) Received: from there ([62.0.86.103]) by mxout1.netvision.net.il (iPlanet Messaging Server 5.1 (built Sep 5 2001)) with SMTP id <0GQ8000C2YWJ92@mxout1.netvision.net.il> for gentoo-dev@gentoo.org; Sun, 20 Jan 2002 19:21:57 +0200 (IST) Date: Sun, 20 Jan 2002 19:18:05 +0200 From: Dan Armak Subject: Re: [gentoo-dev] What provides -lpython2.2 ? (needed for koffice) In-reply-to: <1011532559.1134.6.camel@nosferatu.lan> To: gentoo-dev@gentoo.org Message-id: <0GQ8000C3YWK92@mxout1.netvision.net.il> MIME-version: 1.0 X-Mailer: KMail [version 1.3.2] Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT References: <0GQ700H6BAZANB@mxout1.netvision.net.il> <20020120115918.A32759@ilse.asys-h.de> <1011532559.1134.6.camel@nosferatu.lan> Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0.6 Precedence: bulk Reply-To: gentoo-dev@gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Developer discussion list List-Unsubscribe: , List-Archive: X-Archives-Salt: d3de986f-f23d-4aa3-8b32-b06ab8d83c6d X-Archives-Hash: b5c54bf6ed29234c1d9070b4afc39f0f 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