[New-bugs-announce] [issue6103] Static library (libpythonX.Y.a) installed in incorrect location

Arfrever Frehtes Taifersar Arahesis report at bugs.python.org
Mon May 25 07:26:14 CEST 2009


New submission from Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA at GMail.Com>:

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).

----------
components: Installation
files: python-2.6.2-fix_static_library_location.patch
keywords: patch
messages: 88302
nosy: Arfrever
severity: normal
status: open
title: Static library (libpythonX.Y.a) installed in incorrect location
versions: Python 2.4, Python 2.5, Python 2.6, Python 2.7, Python 3.0, Python 3.1
Added file: http://bugs.python.org/file14065/python-2.6.2-fix_static_library_location.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6103>
_______________________________________


More information about the New-bugs-announce mailing list