I'm attempting to import a kml/kmz file generated using Google Tracks into my QGIS 2.4 system (built with GDAL 1.10). KML files currently lose all attributes, and as such I'm attempting to build GDAL with libKML support as I'm led to believe this will solve this issue - as per https://code.google.com/p/libkml/wiki/BuildingAndInstalling on my Ubuntu 14.04 system.
I've successfully cloned and built the libkml library and tested it as per instructions in the wiki. I'm now trying to build gdal against the libKML library but keep failing.
I'm attempting to build against the latest SVN version as recommended here: http://www.gdal.org/drv_libkml.html
When running configure my system finds the Google KML headers but can't find the libkml library, even when I specify the path where where I built the library. For example on my system libKML was installed at /source/libkml/build
Has anyone had an experience building GDAL with this library on a linux system?
I can't seem to find any specific instructions for Ubuntu though some Fedora instructions have got me this far. As you can probably tell I'm not super confident using linux command line!