title: libspatialindex and Rtree on python
body: <p>Okay, so I am trying to install <code>libspatialspatialindex</code> to my Ubuntu machine python. I did follow all the instructions and downloaded <code>libspatialindex1_1.4.0-1.1_amd64.deb</code> from <a href="http://packages.ubuntu.com/lucid/libspatialindex1" rel="noreferrer">http://packages.ubuntu.com/lucid/libspatialindex1</a> and downloaded the amd64 version of it as my machine is 64bits machine. I installed it and then jumped to Rtree python <a href="https://pypi.python.org/pypi/Rtree" rel="noreferrer">https://pypi.python.org/pypi/Rtree</a> to download and install the Rtree in python. I followed the installation instruction given in the install.txt file inside the folder. It says run the local setup.py by <code>$ python setup.py install</code> I did that as well but what I get after that is </p>
  
  <pre><code>`root@ubuntu:/# cd /home/neelabh/Desktop/Rtree
  root@ubuntu:/home/neelabh/Desktop/Rtree# python setup.py install
  Traceback (most recent call last):
  File "setup.py", line 4, in &lt;module&gt;
  import rtree
  File "/home/neelabh/Desktop/Rtree/rtree/__init__.py", line 1, in &lt;module&gt;
  from .index import Rtree
  File "/home/neelabh/Desktop/Rtree/rtree/index.py", line 6, in &lt;module&gt;
  from . import core
  File "/home/neelabh/Desktop/Rtree/rtree/core.py", line 110, in &lt;module&gt;
  rt.Error_GetLastErrorNum.restype = ctypes.c_int
  File "/usr/lib/python2.7/ctypes/__init__.py", line 378, in __getattr__
  func = self.__getitem__(name)
  File "/usr/lib/python2.7/ctypes/__init__.py", line 383, in __getitem__
  func = self._FuncPtr((name_or_ordinal, self))
  AttributeError: python: undefined symbol: Error_GetLastErrorNum`
  </code></pre>
  
  <p>Can somebody please help me in resolving this issue!</p>
  
  <p>I really appreciate in advance!</p>