Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 151 - Koffice 1.1.1: "cannot find -lpython2.2"
Summary: Koffice 1.1.1: "cannot find -lpython2.2"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Dan Armak (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-13 16:49 UTC by Bart Verwilst
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bart Verwilst 2002-01-13 16:49:42 UTC
Koffice errors out with 
"
/usr/i586-pc-linux-gnu/bin/ld: cannot find -lpython2.2
collect2: ld returned 1 exit status
"
I don't know much about those -l vars during compilation, so 
i hope someone a like more system-dev-like will know a fix :o)
I need it to type my thesis.. :o)
Comment 1 Dan Armak (RETIRED) gentoo-dev 2002-01-15 05:15:33 UTC
Confirmed. This error happens with python 2.2 emerged (works ok with <=2.1). Several people (incl. Verwilst) have been working on it, or might have been working on it. I can't do much myself right now until I regain full internet conenctivity (tomorrow). For now I've tried to find the library that provides =lpython2.2 but failed. Python doesn't install any .so files at all.Anyway, until  this is resolved, you can use a temporary fix:emerge dev-lang/python/python-2.1.1.r4 (this is the latest 2.1 python as of this writing). Koffice should then emerge. After emerging koffice, you should emerge dev-lang/python/python-2.2-r4 again (the latest 2.2) as there are file conflicts between the two versions and some things may depend on the newer one.Or just wait for this to be fixed, I'll try to find a solution for this today if I can but it'll probably be tomorrow.
Comment 2 Dan Armak (RETIRED) gentoo-dev 2002-01-20 09:02:48 UTC
OK, I've committed a temporary fix: -lpython2.2 is resolved by having -L 
/usr/lib/python2.2/config as an --with-extra-libs parameter. But the correct 
solution would be for python-config --libs to say that as well. I'll investigate 
the python side, meanwhile koffice compiles again.
Comment 3 Dan Armak (RETIRED) gentoo-dev 2002-01-23 14:11:05 UTC
OK, since I've actually fixed this, I'll close the bug.

The reason I didn't close it before is that I don't particularly like the solution 
- it lives in the koffice ebuild but should IMHO live in python-config itself. But 
that's irrelevant now as the situation isn't liekly to change just yet (some 
other problems). Anyway the bug is closing.