Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs

[issue7352] python2.6-config --ldflags out of /usr and missing -L<install_lib_dir>

 

 

Python bugs RSS feed   Index | Next | Previous | View Threaded


report at bugs

Nov 18, 2009, 12:58 PM

Post #1 of 2 (137 views)
Permalink
[issue7352] python2.6-config --ldflags out of /usr and missing -L<install_lib_dir>

Changes by François Mauger <mauger [at] lpccaen>:


----------
components: Installation
nosy: mauger
severity: normal
status: open
title: python2.6-config --ldflags out of /usr and missing -L<install_lib_dir>
type: feature request
versions: Python 2.6

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue7352>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Nov 18, 2009, 1:07 PM

Post #2 of 2 (117 views)
Permalink
[issue7352] python2.6-config --ldflags out of /usr and missing -L<install_lib_dir> [In reply to]

New submission from François Mauger <mauger [at] lpccaen>:

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 <report [at] bugs>
<http://bugs.python.org/issue7352>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com

Python bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.