New submission from François Mauger <[email protected]>: Hi Python!
I installed python2.6 from official source tarball under Scientific Linux 5.2. I use the python2.6-config utility through makefiles to link against lipython2.6.so. The installation prefix is NOT /usr nor some standard /usr/local path. The problem is that the python2.6-config --ldflags does not print the linker -L<install shared library path> so 'ld' failed with some "non found lipython2.6.so" error. Is it a feature or a mistake in the build/installation process of Python2.6 ? Thanks a lot to give any useful hint. Some details of my config follow: >>> bash-3.2$ cat /etc/redhat-release Scientific Linux SL release 5.3 (Boron) bash-3.2$ uname -a Linux XXXXXX 2.6.18-164.6.1.el5 #1 SMP Tue Nov 3 23:02:51 EST 2009 x86_64 x86_64 x86_64 GNU/Linux bash-3.2$ python -V Python 2.6.4 bash-3.2$ python2.6-config --prefix /some_path/sw/python/install_2.6.4_Linux-x86_64 bash-3.2$ ls -l /some_path/sw/python/install_2.6.4_Linux-x86_64/lib total 5419 lrwxr-xr-x 1 mauger nemo 19 Nov 18 11:03 libpython2.6.so -> libpython2.6.so.1.0 -r-xr-xr-x 1 mauger nemo 5524796 Nov 18 11:03 libpython2.6.so.1.0 drwxr-xr-x 25 mauger nemo 22528 Nov 18 11:04 python2.6 bash-3.2$ python2.6-config --cflags -I/some_path/sw/python/install_2.6.4_Linux-x86_64/include/python2.6 -I/some_path/sw/python/install_2.6.4_Linux-x86_64/include/python2.6 -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes HERE I don't get the -L/some_path/sw/python/install_2.6.4_Linux-x86_64/lib: bash-3.2$ python2.6-config --ldflags -lpthread -ldl -lutil -lm -lpython2.6 <<< ---------- _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue7352> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
