Chris, <br><br>GDAL 1.9 is trunk so I built from source.  You need to first install subversion, a compiler and other things to compile software.  Once you have the proper environment, then for the basic GDAL build (which would not include mdb of any sort) it is not too difficult and there are directions on the wiki, <a href="http://trac.osgeo.org/gdal/wiki/BuildingOnUnix">http://trac.osgeo.org/gdal/wiki/BuildingOnUnix</a><br>
<br>Adding in more formats and drivers is more difficult.  Usually, there are details on the format page, <a href="http://gdal.org/ogr/drv_mdb.html">http://gdal.org/ogr/drv_mdb.html</a> and/or the build hints section of the wiki, <a href="http://trac.osgeo.org/gdal/wiki/BuildHints">http://trac.osgeo.org/gdal/wiki/BuildHints</a><br>
<br>For the way I did it for the Access mdb driver, I had to make a file /etc/ld.so.sonf.d/libjvm.conf which just has the path pointing to libjvm.so  I did this based on the file not found errors I got after compiling and running ogrinfo on the first attempt.  I don&#39;t fully understand what is the proper way to address issues like this and there may be better ways.  I first learned about it using the FileGDB driver.  Here is that thread, <a href="http://osgeo-org.1803224.n2.nabble.com/gdal-dev-FileGDB-OGR-driver-test-td6237191.html">http://osgeo-org.1803224.n2.nabble.com/gdal-dev-FileGDB-OGR-driver-test-td6237191.html</a>  Even&#39;s suggestion about adding to <span>LD_LIBRARY_PATH
and these two links are mostly what helped me figure it out.  <br></span><br><a href="http://stackoverflow.com/questions/480764/linux-error-while-loading-shared-libraries-cannot-open-shared-object-file-no-su" target="_top" rel="nofollow"><span>http://stackoverflow.com/questions/480764/linux-error-while-loading-shared-libraries-cannot-open-shared-object-file-no-su</span></a><br>
<span>and
</span><br><a href="http://replay.waybackmachine.org/20090301081221/http://www.linux.org/docs/ldp/howto/Program-Library-HOWTO/shared-libraries.html" target="_top" rel="nofollow"><span>http://replay.waybackmachine.org/20090301081221/http://www.linux.org/docs/ldp/howto/Program-Library-HOWTO/shared-libraries.html</span></a><br>
<br>HTH, Eli<br><br><br><div class="gmail_quote">On Tue, Oct 25, 2011 at 12:20 AM, Chris Green <span dir="ltr">&lt;<a href="mailto:chris.green@ibstv.co.uk">chris.green@ibstv.co.uk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div link="blue" vlink="purple" lang="EN-GB"><div><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Hi Eli<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Thanks for your suggestion. Despite pulling most of my hair out I still can’t get past the syntax error thrown by the PGeo driver, so I would certainly be interested to follow the alternative approach. However  I see in the drv_mdb documentation that GDAL/OGR &gt;=1.9.0 is required, yet I can’t find anything for Ubuntu later than 1.8 (from UbuntuGIS unstable).  Do you have 1.9 on your Ubuntu, if so could you tell me where I can find it?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Chris<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">  <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt" lang="EN-US">From:</span></b><span style="font-size:10.0pt" lang="EN-US"> Eli Adam [mailto:<a href="mailto:eadam@co.lincoln.or.us" target="_blank">eadam@co.lincoln.or.us</a>] <br>
<b>Sent:</b> 24 October 2011 19:32<br><b>To:</b> Chris Green<br><b>Cc:</b> <a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br><b>Subject:</b> Re: [gdal-dev] ogrinfo and PGeo Driver for .mdb file, on Ubuntu<u></u><u></u></span></p>
</div><div><div></div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal" style="margin-bottom:12.0pt">Chris,<br><br>     There is also another route that may work for PGeo, <a href="http://www.gdal.org/ogr/drv_mdb.html" target="_blank">http://www.gdal.org/ogr/drv_mdb.html</a>  I recently built that on Ubuntu but have not used it yet.  It looks like you are close on the other route though.  <br>
<br>HTH, Eli<u></u><u></u></p><div><p class="MsoNormal">On Mon, Oct 24, 2011 at 5:35 AM, Chris Green &lt;<a href="mailto:chris.green@ibstv.co.uk" target="_blank">chris.green@ibstv.co.uk</a>&gt; wrote:<u></u><u></u></p><div>
<div><p class="MsoNormal">Hi List<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">I’m hoping someone can help me make ogr work under Linux with the PGeo driver, so I can read an ESRI Personal Database .mdb file into Mapserver. I can see from old posts that the basic problem is that MDBTools is a bit ‘flaky’ and needs a DSN based connection rather than connecting direct to the .mdb data.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">I have been trying to follow the instructions in <a href="http://www.gdal.org/ogr/drv_pgeo.html" target="_blank">http://www.gdal.org/ogr/drv_pgeo.html</a> . Having installed unixODBC and MDBTools, I configured the odbcinst.ini and odbc.ini files as suggested and it seems that I have partial success because when I define my datasource in odbc.ini like so:<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">[my_pgeo]</span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none">
<span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">Description = Sample PGeo Database</span><u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">Driver      = Microsoft Access Driver (*.mdb)</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">Database    = /var/www/vhosts/<a href="http://mydomain.com/httpdocs/data/test.mdb" target="_blank">mydomain.com/httpdocs/data/test.mdb</a></span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">then the command ogrinfo </span> PGeo:my_pgeo results in the following:<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">INFO: Open of ‘PGeo:my_pgeo’ using driver ‘PGeo’ successful. <u></u><u></u></p><p class="MsoNormal"><span style="background:yellow">Error: syntax error at line:2 col:0</span><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">I can’t figure out what or where this syntax error can be. I feel that I am quite close to success but don’t know how to move forward from here. Can anyone point me in the right direction please?<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal"><span style="color:#888888"> <u></u><u></u></span></p><p class="MsoNormal"><span style="color:#888888">Chris <u></u><u></u></span></p><p class="MsoNormal"><span style="color:#888888"> <u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#888888"> <u></u><u></u></span></p><p class="MsoNormal"><span style="color:#888888"> <u></u><u></u></span></p></div></div><p class="MsoNormal"><br>_______________________________________________<br>
gdal-dev mailing list<br><a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><u></u><u></u></p>
</div><p class="MsoNormal" style="margin-bottom:12.0pt"><br><br clear="all"><br><br><u></u><u></u></p></div></div></div></div></blockquote></div><br>