Opened 15 years ago
Closed 14 years ago
#316 closed defect (worksforme)
Python library check is not 64 bits free
| Reported by: | bicatali | Owned by: | mloskot |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Default | Version: | 3.2.0 |
| Severity: | Unassigned | Keywords: | |
| Cc: |
Description (last modified by )
When the system is 64bits only (on *nix systems), the Python library check does not work:
checking for python... /usr/bin/python
checking for python version... 2.6
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.6/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.6/site-packages
checking for Python include path... /usr/include/python2.6
checking for Python library path...
configure: error: cannot find Python library path
In macros/ac_python_devel.m4, changing lib/python with $libdir/python should resolve it.
Change History (4)
comment:1 by , 15 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:2 by , 15 years ago
| Description: | modified (diff) |
|---|
comment:3 by , 15 years ago
I checked and Python module geos works for me:
mloskot@dog:~/dev/geos/_svn/trunk/swig/python$ python
Python 2.6.4 (r264:75706, Dec 7 2009, 18:43:55)
[GCC 4.4.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import geos
>>> geos.version()
'3.3.0-CAPI-1.6.1'
>>> os.uname()
('Linux', 'dog', '2.6.31-17-generic', '#54-Ubuntu SMP Thu Dec 10 17:01:44 UTC 2009', 'x86_64')
You may need to setup some env variables to make the libraries loadable directly from trunk tree, without need to issue make install:
mloskot@dog:~/dev/geos/_svn/trunk/swig/python$ echo $LD_LIBRARY_PATH /home/mloskot/dev/geos/_svn/trunk/source/.libs: mloskot@dog:~/dev/geos/_svn/trunk/swig/python$ echo $PYTHONPATH /home/mloskot/dev/geos/_svn/trunk/swig/python/.libs:
comment:4 by , 14 years ago
| Resolution: | → worksforme |
|---|---|
| Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.

I rn Ubuntu 9.10 on 64-bit arch;
and here is what I get for GEOS from current SVN trunk:
mloskot@dog:~/dev/geos/_svn/trunk$ svn info | grep Revision Revision: 2836 mloskot@dog:~/dev/geos/_svn/trunk$ ./autogen.sh && ./configure --enable-python ... checking for swig... /usr/bin/swig checking for SWIG version... 1.3.36 configure: SWIG executable is '/usr/bin/swig' configure: SWIG library directory is '/usr/share/swig1.3' checking for python... /usr/bin/python checking for python version... 2.6 checking for python platform... linux2 checking for python script directory... ${prefix}/lib/python2.6/site-packages checking for python extension module directory... ${exec_prefix}/lib/python2.6/site-packages checking for Python include path... /usr/include/python2.6 checking for Python library path... /usr/lib/python2.6/config ...Could you please verify if current trunk configures for you correctly?