Re: [gdal-dev] compiling gdal on Ubuntu via Parallels
On Feb 22, 2012, at 10:16 AM, Even Rouault wrote: Selon Stuart Edwards sedwar...@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' thx for the help Stu ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev
Re: [gdal-dev] compiling gdal on Ubuntu via Parallels
Selon Stuart Edwards sedwar...@cinci.rr.com: On Feb 22, 2012, at 10:16 AM, Even Rouault wrote: Selon Stuart Edwards sedwar...@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 ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev
RE: [gdal-dev] compiling gdal on Ubuntu via Parallels
On newer Ubuntu releases /usr/local/lib is not in the LD_LIBRARY_PATH. Either set it in your login script (export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH or add /usr/local/lib to /etc/ld.so.conf If you do the latter method, run sudo ldconfig after you are done and it should work. -Original Message- From: gdal-dev-boun...@lists.osgeo.org [mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of Stuart Edwards Sent: Wednesday, February 22, 2012 9:33 AM To: Even Rouault Cc: gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] compiling gdal on Ubuntu via Parallels On Feb 22, 2012, at 10:16 AM, Even Rouault wrote: Selon Stuart Edwards sedwar...@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' thx for the help Stu ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev
Re: [gdal-dev] compiling gdal on Ubuntu via Parallels
that seems to have taken care of the problem - thanks! Stu On Feb 22, 2012, at 11:41 AM, Kyle Shannon wrote: On newer Ubuntu releases /usr/local/lib is not in the LD_LIBRARY_PATH. Either set it in your login script (export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH or add /usr/local/lib to /etc/ld.so.conf If you do the latter method, run sudo ldconfig after you are done and it should work. -Original Message- From: gdal-dev-boun...@lists.osgeo.org [mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of Stuart Edwards Sent: Wednesday, February 22, 2012 9:33 AM To: Even Rouault Cc: gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] compiling gdal on Ubuntu via Parallels On Feb 22, 2012, at 10:16 AM, Even Rouault wrote: Selon Stuart Edwards sedwar...@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' thx for the help Stu ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev