classification
Title: Static library (libpythonX.Y.a) installed in incorrect location
Type: Stage:
Components: Installation Versions: Python 3.1, Python 3.0, Python 2.7, Python 2.6, Python 2.5, Python 2.4
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: Arfrever (1)
Priority: Keywords patch

Created on 2009-05-25 05:26 by Arfrever, last changed 2009-05-25 05:26 by Arfrever.

Files
File name Uploaded Description Edit Remove
python-2.6.2-fix_static_library_location.patch Arfrever, 2009-05-25 05:26 python-2.6.2-fix_static_library_location.patch
Messages (1)
msg88302 - (view) Author: Arfrever Frehtes Taifersar Arahesis (Arfrever) Date: 2009-05-25 05:26
When Python has been configured without --enable-shared option, then
`make install` installs $(LIBDIR)/libpythonX.Y.a and
$(LIBDIR)/pythonX.Y/config/libpythonX.Y.a (these files are identical).

When Python has been configured with --enable-shared option, then `make
install` installs $(LIBDIR)/libpythonX.Y.so and
$(LIBDIR)/pythonX.Y/config/libpythonX.Y.a.
It is inconsistent and causes using of static library instead of shared
library when a program is linked using "-L$(LIBDIR)/pythonX.Y/config -
(It was reported at https://bugs.gentoo.org/show_bug.cgi?id=252372)

I suggest to install libpythonX.Y.a only in $(LIBDIR).
History
Date User Action Args
2009-05-25 05:26:12Arfrevercreate