[gdal-dev] Problems compiling w jp2kak
sfz5 at satx.rr.com
sfz5 at satx.rr.com
Fri Feb 29 09:44:03 EST 2008
Frank
I have been working on a project for a couple of months learning and using
gdal. Recently have been trying to install v 1.5.0 We want to convert NITF
image directories to JPEG-2000 files and have Kakadu-6.0. We are running
fedora5 on x86_64.
We're attempting to build the system using JP2KAK support following
suggestions at http://trac.osgeo.org/gdal/wiki/JP2KAK for 64 bit systems.
After kakadu is built and libraries are in the kakadu-6.0/lib directory, cd
to gdal-1.5.0, ran configure:
configure --with-ogdi=no --with-kakadu=/home/mw/project/kakadu-6.0
--prefix=/home/jworkman/project/gdal --with-libtiff=internal
Running make results in over 2000 lines of output that ends with the
following:
libtool: link: g++ gdalinfo.o -o .libs/gdalinfo
/home/jworkman/project/gdal-1.5.0/.libs/libgdal.so -L/usr/local/lib
-L/usr/lib -L/home/jworkman/project/kakadu-6.0/lib -L/usr/kerberos/lib64
/usr/local/lib/libgeos_c.so /usr/local/lib/libgeos.so -lsqlite3
/usr/lib64/libexpat.so -ljpeg -lpng -lrt -lkdu -lcurl -ldl -lgssapi_krb5
-lkrb5 -lk5crypto -lkrb5support -lcom_err -lresolv /usr/lib64/libidn.so
-lssl -lcrypto -lz -Wl,-rpath -Wl,/home/jworkman/project/gdal/lib
-Wl,-rpath -Wl,/usr/lib64
/usr/bin/ld: skipping incompatible /usr/lib/librt.so when searching for
-lrt
/usr/bin/ld: skipping incompatible /usr/lib/librt.a when searching for
-lrt
/usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for
-ldl
/usr/bin/ld: skipping incompatible /usr/lib/libdl.a when searching for
-ldl
/usr/bin/ld: skipping incompatible /usr/lib/libresolv.so when searching
for -lresolv
/usr/bin/ld: skipping incompatible /usr/lib/libresolv.a when searching
for -lresolv
/usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for
-lz
/usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for
-lz
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for
-lm
/usr/bin/ld: skipping incompatible /usr/lib/libm.a when searching for
-lm
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for
-lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for
-lc
/home/jworkman/project/gdal-1.5.0/.libs/libgdal.so: undefined reference
to `kdu_thread_entity::add_queue(kdu_worker*, kdu_thread_queue*, char
const*, long long)'
/home/jworkman/project/gdal-1.5.0/.libs/libgdal.so: undefined reference
to `kdu_codestream::create(kdu_compressed_source*, kdu_thread_env*)'
collect2: ld returned 1 exit status
make[1]: *** [gdalinfo] Error 1
make[1]: Leaving directory `/home/jworkman/project/gdal-1.5.0/apps'
make: *** [apps-target] Error 2
I tried making again after adding the --without-libtool flag to configure
(suggested to me by a coworker), and it resulted in 1000 lines of output and
the same end error messages at the end.
Not real familiar with 32/64 bit incompatibility issues. Not sure where my
problem is. Any hints for me?
Thanks
Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20080229/6a81bd5b/attachment.html
More information about the gdal-dev
mailing list