[gdal-dev] Ubuntu, gdal & ecw's >2gb on IA32

Tim Bowden tim.bowden at westnet.com.au
Fri Jun 20 22:14:53 EDT 2008


I've got a bit of a problem with ecw's on ubuntu 8.04; gdal can't read
them if they're >2gb in size, but there's no problem with the same setup
on ubuntu 7.10.

Details:
Ubuntu 7.10
gcc --version
gcc (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
ubuntu gcc package: 4.1.2-9ubuntu2
kernel: ubuntu packaged 2.6.22-14-generic
glibc: 2.6.1-1ubuntu9

Ubuntu 8.04
gcc --version
gcc (GCC) 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
ubuntu gcc package: 4.2.3-1ubuntu3
kernel: ubuntu packaged 2.6.24-19-generic
glibc: 2.7-10ubuntu3

On both PC's (from source):
gdal: gdal-1.5.2
ecw: libecwj2-3.3

The binary FWTools dist exhibits the same outcomes- works on bunty 7.10,
fails on 8.04 for ecw's >2gb.

I'm not at all sure where it may be going wrong, but having a wild
guess, I'd think either kernel, glibc or something else.

Can anyone replicate these results?

Does anyone have any ideas as to what's going on, and more importantly,
how to fix it?

Thanks,
Tim Bowden



More information about the gdal-dev mailing list