[gdal-dev] linking problem: cannot find frmts/o/.libs/aigccitt.o

Even Rouault even.rouault at mines-paris.org
Tue Jun 3 13:58:57 EDT 2008


I've the feeling that's an issue about compiling in 64bit mode and that they 
are 32 bit libraries in your link path. For example, I 
see "-L/export/home/ychemin/gcc/host-x86_64-unknown-linux-gnu/gcc/32" in the 
command line.

Le Tuesday 03 June 2008 05:24:19 Yann Chemin, vous avez écrit :
> Hello list,
>
> I am a bit stuck here and would gladly have a piece of enlightenment...
> I am trying to compile gdal on a computer, and somehow /usr/bin/ld
> does not find a file that exists.
>
> ...puzzled
> thanks for any help,
> Yann
>
> libtool: link: rm -fr  .libs/libgdal.la.lnkscript
> libtool: link: creating GNU ld script: .libs/libgdal.la.lnkscript
> libtool: link: g++ -shared -nostdlib /usr/lib/../lib64/crti.o
> /usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.2.4/crtbeginS.o
> .libs/libgdal.la.lnkscript  -Wl,-rpath -Wl,/usr/lib64 -Wl,-rpath
> -Wl,/usr/local/lib/../lib -Wl,-rpath -Wl,/usr/lib64 -Wl,-rpath
> -Wl,/usr/local/lib/../lib -L/usr/lib64 -L/usr/local/lib
> /usr/lib64/libexpat.so /usr/lib64/libjpeg.so -ltiff -lpng
> -L/usr/local/pgsql/lib -lpq -lz -lrt -ldl
> -L/usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.2.4
> -L/usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.2.4/../../../../lib64
> -L/lib/../lib64 -L/usr/lib/../lib64
> -L/usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.2.4/../../..
> /usr/local/lib/../lib/libstdc++.so
> -L/export/home/ychemin/gcc/x86_64-unknown-linux-gnu/32/libstdc++-v3/src
> -L/export/home/ychemin/gcc/x86_64-unknown-linux-gnu/32/libstdc++-v3/src/.li
>bs -L/export/home/ychemin/gcc/host-x86_64-unknown-linux-gnu/gcc/32
> -L/usr/local/lib/../lib
> -L/usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.2.4/../../../../lib
> -L/lib/../lib -L/usr/lib/../lib
> -L/export/home/ychemin/gcc/host-x86_64-unknown-linux-gnu/gcc -lm -lc
> -lgcc_s /usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.2.4/crtendS.o
> /usr/lib/../lib64/crtn.o        -Wl,-soname -Wl,libgdal.so.1 -o
> .libs/libgdal.so.1.12.1
> /usr/bin/ld: skipping incompatible
> /export/home/ychemin/gdal-svn-stable-2008.05.22/frmts/o/.libs/aigccitt.o
> when searching for
> /export/home/ychemin/gdal-svn-stable-2008.05.22/frmts/o/.libs/aigccitt.o
> /usr/bin/ld: cannot find
> /export/home/ychemin/gdal-svn-stable-2008.05.22/frmts/o/.libs/aigccitt.o
> collect2: ld returned 1 exit status
> make[1]: *** [libgdal.la] Error 1
> make[1]: Leaving directory
> `/export/home/ychemin/gdal-svn-stable-2008.05.22' make: *** [check-lib]
> Error 2




More information about the gdal-dev mailing list