[New-bugs-announce] [issue22045] Python make issue
Shannon Kerr
report at bugs.python.org
Wed Jul 23 14:17:42 CEST 2014
New submission from Shannon Kerr:
If you execute the following commands on a system that doesn’t already have Python 2.7.X installed on it, it will result in bloated libs that statically link libpythyon2.7.a instead of the locally built libpython2.7.so:
./configure
make
sudo make install
./configure —enable-shared
make
sudo make install
Due to the library search path order in the Python build tools being:
-L /usr/local/lib -L .
the first lib found is in /usr/local/lib and it is the static library, so this is used to link. This results in, for example, cPickle.so being 4.9M instead of 188K.
Shouldn't the just-built local library be used before anything on the system?
----------
components: Build
messages: 223736
nosy: skerr
priority: normal
severity: normal
status: open
title: Python make issue
versions: Python 2.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22045>
_______________________________________
More information about the New-bugs-announce
mailing list