Error while building Geos 3.4.2

57 views
Skip to first unread message

Dinesh Patel

unread,
Mar 2, 2015, 2:44:37 PM3/2/15
to spatiali...@googlegroups.com
Hi Sandro,

I am trying to install Geos 3.4.2 on another CentOS 6.5 mahine. I followed below steps. I am using Python 2.7.6 and i dont want to upgrade the same as there are lots of dependencies.


I am getting below error

/usr/local/lib/python2.7/config/libpython2.7.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[5]: *** [_geos.la] Error 1
make[5]: Leaving directory `/root/spatialite/geos-3.4.2/swig/python'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/root/spatialite/geos-3.4.2/swig/python'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/root/spatialite/geos-3.4.2/swig/python'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/spatialite/geos-3.4.2/swig'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/spatialite/geos-3.4.2'
make: *** [all] Error 2


Any help would be appreciated.

Thanks,
Dinesh Patel

a.fu...@lqt.it

unread,
Mar 3, 2015, 4:55:43 AM3/3/15
to spatiali...@googlegroups.com
On Mon, 2 Mar 2015 11:44:37 -0800 (PST), Dinesh Patel wrote:
> Hi Sandro,
>
> I am trying to install Geos 3.4.2 on another CentOS 6.5 mahine. I
> followed below steps. I am using Python 2.7.6 and i dont want to
> upgrade the same as there are lots of dependencies.
>
> * wget http://download.osgeo.org/geos/geos-3.4.2.tar.bz2 [1]
> * tar -xvf geos-3.4.2.tar.bz2
> * cd geos-3.4.2
> * export "CXXFLAGS=-DHAVE_STD_ISNAN=1 -DHAVE_LONG_LONG_INT_64=1
> -DGEOS_ENABLE_INLINE=ON -DGEOS_ENABLE_TESTS=ON"
> * ./configure --enable-python
> * make
>
> I am getting below error
>
> /usr/local/lib/python2.7/config/libpython2.7.a: could not read
> symbols: Bad value
>

Hi Dinesh,

if I remember well this is the first time in my life I see such
an error. here you could possibly find some usefull hint:

http://stackoverflow.com/questions/18098258/64-bit-linux-ubuntu-and-openssl-issue-could-not-read-symbols-bad-value
http://stackoverflow.com/questions/13812185/how-to-recompile-with-fpic

bye Sandro
Reply all
Reply to author
Forward
0 new messages