1 |
On Sun, 2002-01-20 at 12:59, Juergen Ilse wrote: |
2 |
> Hello, |
3 |
> |
4 |
> On Sun, Jan 20, 2002 at 10:46:53AM +0200, Martin Schlemmer wrote: |
5 |
> > On Sun, 2002-01-20 at 00:41, Juergen Ilse wrote: |
6 |
> > > On Sat, Jan 19, 2002 at 09:44:39PM +0200, Dan Armak wrote: |
7 |
> > > > I haven't been able to find this myself either. What does provide |
8 |
> > > > -lpython2.2? Python doesn't install any libs according to its CONTENTS, but |
9 |
> > > > -lpython2.2 is in the python-config output. |
10 |
> > > |
11 |
> > > The static library mentioned above has the name libpython2.2.a |
12 |
> > > I didn't find a shared version of this library. |
13 |
> ^^^^^^ |
14 |
> > it is here: |
15 |
> > /usr/lib/python2.2/config/libpython2.2.a |
16 |
> |
17 |
> I already mentioned the place where to find the static version of this |
18 |
> library. libpython2.2.a is *not* a shared library but a static one. |
19 |
> I don*t know, if a shared version of this library is possible, but |
20 |
> until now, there is no shared version. |
21 |
> |
22 |
|
23 |
Out of the 'ld' manpage: |
24 |
|
25 |
-------------------cut here---------------------------------- |
26 |
-larchive |
27 |
--library=archive |
28 |
Add archive file archive to the list of files to link. This |
29 |
option may be used any number of times. ld will search its path- |
30 |
list for occurrences of "libarchive.a" for every archive |
31 |
specified. |
32 |
|
33 |
On systems which support shared libraries, ld may also |
34 |
search for libraries with extensions other than ".a". Specifically, on |
35 |
ELF and SunOS systems, ld will search a directory for a |
36 |
library with an extension of ".so" before searching for one with an |
37 |
extension of ".a". By convention, a ".so" extension |
38 |
indicates a shared library. |
39 |
------------------cut here----------------------------------- |
40 |
|
41 |
Meaning, that -lpython2.2 can be libpython2.2.a *or* |
42 |
libpython2.2.so, depending on if it is linked static or |
43 |
dynamic. |
44 |
|
45 |
I check the CONTENTS of 2.0 against 2.2, and the only thing |
46 |
that differs, is that Makefile.pre.in was not installed, which |
47 |
is fixed now. |
48 |
|
49 |
Bottom line: koffice's build scripts is broken, or we need |
50 |
to create a symlink from |
51 |
/usr/lib/python2.2/config/libpython2.2.a to |
52 |
/usr/lib/libpython2.2.a |
53 |
|
54 |
Anybody else have an idea ? |
55 |
|
56 |
|
57 |
Greetings, |
58 |
-- |
59 |
|
60 |
Martin Schlemmer |
61 |
Gentoo Linux Developer, Desktop Team Developer |
62 |
Cape Town, South Africa |