[issue27685] altinstall with --enable-shared showing incorrect behaviour

2016-08-04 Thread umank.behera
umank.behera added the comment: I need to have --enable-shared present while compiling to make PyInstaller work. -- ___ Python tracker ___ ___

[issue27685] altinstall with --enable-shared showing incorrect behaviour

2016-08-04 Thread umank.behera
umank.behera added the comment: As Ned Deily mentioned, this fixes the issue: ./configure --enable-shared --prefix=/opt/python LDFLAGS=-Wl,-rpath=/opt/python/lib Closing as not a bug, thanks! -- resolution: -> not a bug status: open -> closed ___ P

[issue27685] altinstall with --enable-shared showing incorrect behaviour

2016-08-04 Thread Ned Deily
Ned Deily added the comment: No doubt you are running into same problem that is described here: http://stackoverflow.com/questions/12553057/compile-python-2-7-3-from-source-on-a-system-with-python-2-7-already The problem is, that on most Unix systems (with the notable exception of Mac OS X), t

[issue27685] altinstall with --enable-shared showing incorrect behaviour

2016-08-04 Thread umank.behera
New submission from umank.behera: When I altinstall python 2.7.12 with ./configure --prefix=/opt/python --enable-shared it comes up as python 2.7.5 (system default python) But altinstall with ./configure --prefix=/opt/python it comes up as 2.7.12, what am I missing? This is on RHEL 7.2 This is