Bug 127357
Summary: | build libpython as a shared library | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | James Henstridge <james> |
Component: | python | Assignee: | Mihai Ibanescu <mihai.ibanescu> |
Status: | CLOSED RAWHIDE | QA Contact: | Brock Organ <borgan> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 2 | CC: | balay, katzj, nobody+pnasrat |
Target Milestone: | --- | Keywords: | FutureFeature |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 2.3.4-5 | Doc Type: | Enhancement |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-08-04 16:42:32 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
James Henstridge
2004-07-07 01:44:00 UTC
This would benefit OOo as well. Python 2.3 and later have an --enable-shared to let us do build with libpython.so, a bit more work than just dropping that in it seems: 'import site' failed; use -v for traceback running build running build_ext running build_scripts make[1]: Leaving directory `/home/pauln/src/pkgsrc/rpms/python/Python-2.3.4' + /home/pauln/src/pkgsrc/rpms/python/Python-2.3.4/python Tools/scripts/pathfix.py -i '/usr/bin/env python2.3' . /home/pauln/src/pkgsrc/rpms/python/Python-2.3.4/python: error while loading shared libraries: libpython2.3.so.1.0: cannot open shared object file: No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.1054 (%build) Hmm. This is because it is trying to run the just-built Python executable, but because libpython2.3.so.1.0 is in a buildroot, the linker can't find it. Possibly setting LD_LIBRARY_PATH=%{buildroot}%{_libdir} during install would solve the problem? I suppose it is also worth noting that this is probably more important on x86-64 systems, since there are a number of packages out there that rely on the fact that you can link libpython.a into a shared object on i386. They all get link errors on x86-64. *** Bug 128133 has been marked as a duplicate of this bug. *** python 2.3.4-5 should have this fixed Is there any chance in seeing this fixed in Fedora Core 2 Legacy? I'm building Openoffice.org 1.9.100 from FC4 SRPM and I'd prefer not to install python from FC3. |