title: Problems with trying to to install rgdal package in R on Linux
body: <p>I am trying to install the R (R version 3.2.4 Revised) package 'rgdal' onto my Linux, Ubuntu 14.04, but the package is having difficulties when it tries to load dependencies, specifically sqlite.</p>
  
  <p>The error is as follows: </p>
  
  <pre><code>checking for gdal.h... yes
  checking gdal: linking with --libs only... no
  checking gdal: linking with --libs and --dep-libs... no
  /usr/lib/libgdal.so: undefined reference to `sqlite3_column_table_name'
  collect2: error: ld returned 1 exit status
  </code></pre>
  
  <p>I updated GDAL/OGR per the instructions <a href="http://www.sarasafavi.com/installing-gdalogr-on-ubuntu.html" rel="nofollow">here</a>, because I thought that may be the issue. Now when I type gdalinfo or ogrinfo into the terminal a similar error appears: </p>
  
  <pre><code>gdalinfo: symbol lookup error: /usr/lib/libgdal.so.1: undefined 
  symbol: sqlite3_column_table_name
  </code></pre>
  
  <p>When I look in my usr/local/lib the following sqlite libraries are present:</p>
  
  <pre><code>libsqlite3.a libsqlite3.la libsqlite3.so libsqlite3.so.0   
  libsqlite3.so.0.8.6
  </code></pre>
  
  <p>The funny thing is that this package was working fine in R last week and now is broken...</p>
  
  <p>Any help appreciated! Thanks.</p>
  
  <p>-Caitlin</p>