[gdal-dev] File too large?

Even Rouault even.rouault at mines-paris.org
Sat Dec 6 05:39:33 EST 2008


Agustin,

It's unlikely you are able to mix a fresh build of GDAL on a modern Linux 
distribution with the rest of libraries & binaries contained in FWTools 
2.0.6. I see for example that FWTools 2.0.6 uses libstdc++.so.5 whereas your 
Ubuntu 8.04 will use libstdc++.so.6 when compiling GDAL. So it may work to 
some extent, but that may also likely result in crashes from time to time.

Quoting Frank Warmerdam, that's one of the reasons for the discontinuation of 
FWTools Linux :
"I am currently unable to rebuild fwtools on linux due to the death of my
old server, and the differences in various versions of things on the new
one.  So, for the time being, FWTools builds for linux have ceased."

Hum, on my ubuntu 8.04, I see that if you try to install g++-3.3, it requires 
libstdc++5-3.3-dev to be installed, so you could try compiling GDAL with 
it...

But the safest way is certainly to rebuilt every component you need.

Even

Le Saturday 06 December 2008 11:03:52 Agustin Lobo, vous avez écrit :
> Even,
>
> Thanks a lot for your answer. It's unfortunate that binaries of FWTools
> Linux had been discontinued. I actually thought that compiling for
> win was much harder.
> The wine alternative is a solution, but would like to consider compiling
> myself. If I compile GDAL, would the rest of components in my current
> FWTools make use of the newer version or should I compile every component?
>
> Agus
>
> Even Rouault wrote:
> > Agustin,
> >
> > I think you need to upgrade to GDAL 1.5.3 because you're probably hitting
> > the following issue : http://trac.osgeo.org/gdal/ticket/2437
> >
> > As FWTools Linux 2.0.6 was released in February 2008 and the ticket
> > solved in June, it is not recent enough. The relatively bad news for you
> > is that the production of newer releases of FWTools Linux is currently
> > discontinued. So for the moment, you have to compile GDAL from source by
> > yourself.
> >
> > I don't think that Ubuntu or most Linux distributions will provide some
> > day support out of the box for MrSID and ECW because of the licencing
> > issues.
> >
> > Another way is to use FWTools for Windows under Wine. Download the
> > installer, execute wine on it. Once installed, cd to
> > ~/.wine/drive_c/Program Files/FWTools2.2.8 for example.
> > Due to a imperfect simulation of DOS shell by wine, you just have to make
> > a minor modification to bin/setfwenv.bat to add "set " at the beginning
> > of the line PATH=%FWTOOLS_DIR%\bin;%FWTOOLS_DIR%\python;%PATH%.
> > Then launch "wine cmd.exe" and then type "setfw.bat", and GDAL command
> > line utilities should work. That way you get MrSID and ECW support...
> >
> > Best regards,
> > Even
> >
> > Le Friday 05 December 2008 17:09:09 Agustin Lobo, vous avez écrit :
> >> I'm actually using the version
> >> from  FWTools-linux-2.0.6.tar
> >> do I have to upgrade?
> >>
> >> Agus
> >>
> >> Agustin Lobo wrote:
> >>> Thanks for your fast answer.
> >>> I'm using a quite new version:
> >>> alobo at alobo-laptop:~$ gdalinfo --version
> >>> GDAL 1.5.1, released 2008/03/14
> >>>
> >>> I'm going to get the newest, and will let you know.
> >>> Is there a particular binary for ubuntu with
> >>> support for MrSid and ECW? or do you advice me to
> >>> compile?
> >>>
> >>> Agus
> >>>
> >>> Frank Warmerdam wrote:
> >>>> On Fri, Dec 5, 2008 at 3:04 AM, Agustin Lobo <aloboaleu at gmail.com> 
wrote:
> >>>>> I have a file in envi format
> >>>>> (PIR_MVC_EUROM_0112_2000.bsq and PIR_MVC_EUROM_0112_2000.hdr)
> >>>>>
> >>>>> From gdalinfo I get:
> >>>>>> gdalinfo PIR_MVC_EUROM_0112_2000.bsq
> >>>>>
> >>>>> ERROR 4: `PIR_MVC_EUROM_0112_2000.bsq' not recognised as a supported
> >>>>> file
> >>>>> format
> >>>>>
> >>>>> I've also tried renaming PIR_MVC_EUROM_0112_2000.bsq
> >>>>> to PIR_MVC_EUROM_0112_2000
> >>>>>
> >>>>> The size of the file is 6005188800 bytes, could this be the problem?
> >>>>> I do not have this problem with other, smaller files.
> >>>>> (I'm using ubuntu 8.04 and the file is on a NTFS partition)
> >>>>
> >>>> Dr. Lobo,
> >>>>
> >>>> I looked at the current code and it appears that large files should
> >>>> work fine.  However, there has been significant work on the ENVI
> >>>> driver over the last couple years. What version of GDAL are you using?
> >>>> This can be determined with the "gdalinfo --version" command.
> >>>>
> >>>> It may be that you need to upgrade.
> >>>>
> >>>> Best regards,




More information about the gdal-dev mailing list