[Python-bugs-list] [ python-Bugs-661408 ] "make install" fails with --enable-shared
SourceForge.net
noreply@sourceforge.net
Fri, 03 Jan 2003 11:39:01 -0800
Bugs item #661408, was opened at 2003-01-03 02:18
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=661408&group_id=5470
Category: Installation
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Paul Jarc (prjsf)
>Assigned to: Martin v. Löwis (loewis)
>Summary: "make install" fails with --enable-shared
Initial Comment:
I configured python 2.3a1 with --enable-shared. When I
run "make install",
some installation steps try to run the new python
executable, but it
complains that libpython2.3.so cannot be found.
libpython2.3.so.1.0 has
been installed by this point, but the symlink has not.
Augmenting LD_LIBRARY_PATH during "make install" to
include the build
directory, which contains libpython2.3.so, allows "make
install" to complete
successfully. After "make install", I can run ldconfig
(or equivalent) myself to
create the symlink.
----------------------------------------------------------------------
>Comment By: Martin v. Löwis (loewis)
Date: 2003-01-03 20:39
Message:
Logged In: YES
user_id=21627
I see. Can you please try the attached patch?
----------------------------------------------------------------------
Comment By: Paul Jarc (prjsf)
Date: 2003-01-03 18:53
Message:
Logged In: YES
user_id=412110
This is a custom-built GNU/Linux system, using gcc 2.95.3
and glibc 2.2.5.
"make install" ends like this:
SRCDIR=. \
./python ./Tools/idle/setup.py install \
--check-tkinter \
--prefix=/package/misc/spf/python-2.3a1-1 \
--install-scripts=/package/misc/spf/python-2.3a1-1/bin \
--install-platlib=/package/misc/spf/python-2.3a1-1/lib/python2.3/lib-dynload
./python: error while loading shared libraries:
libpython2.3.so: cannot open shared object file: No such
file or directory
make: *** [idleinstall] Error 127
----------------------------------------------------------------------
Comment By: Martin v. Löwis (loewis)
Date: 2003-01-03 12:03
Message:
Logged In: YES
user_id=21627
What operating system is this? What is the precise build
step that fails? What is the precise error message?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=661408&group_id=5470