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