[gdal-dev] compiling gdal on Ubuntu via Parallels

Even Rouault even.rouault at mines-paris.org
Wed Feb 22 11:41:32 EST 2012


Selon Stuart Edwards <sedwards2 at cinci.rr.com>:

>
> On Feb 22, 2012, at 10:16 AM, Even Rouault wrote:
>
> > Selon Stuart Edwards <sedwards2 at cinci.rr.com>:
> >
> >> Hi
> >>
> >> This seems to be an old problem  (see
> >> http://www.osgeo.org/pipermail/gdal-dev/2009-October/022308.html) but when
> I
> >> try to compile GDAL 1.9.0 from source using Ubuntu 10.04 through Parallels
> >> Desktop 6.0.12106 on OS X 10.6.8 (don't ask why this convoluted approach -
> >> long ESRI related story)  I get the following message during 'make':
> >>
> >> ar:   /usr/local/gdal/frmts/o/aaigriddataset.o:   No such file or
> directory.
> >>
> >> and indeed,
> >>
> >> ls  /usr/local/gdal/frmts/o
> >>
> >> produces a listing for aaigriddataset.lo , but unlike the other files in
> the
> >> directory, no corresponding aaigriddataset.o
> >
> > Perhaps try ./configure --without-libtool . But no promise this will help
>
> seemed to compile without problem, but then gdalinfo gives ' gedalinfo: error
> while loading shared libraries: libgdal.so: cannot open shared object file:
> No such file or directory'

You need to set the LD_LIBRARY_PATH to point to the directory where libgdal.so
is, or alternatively 'make install' (and make sure that the ${prefix_root}/lib
is in the searchable library path)

>
> thx for the help
>
> Stu
>
>




More information about the gdal-dev mailing list