[gdal-dev] Building gdal/ogr with expat support fails when
trying to configure ogdi as well (?) -- Building OGDI!
Nikos Alexandris
nikos.alexandris at felis.uni-freiburg.de
Fri Feb 29 14:33:59 EST 2008
On Fri, 2008-02-29 at 20:25 +0100, Nikos Alexandris wrote:
[...]
>
> Anybody with an Ubuntu 64bit machine compiling OGDI?
>
> Details:
>
> ./configure --with-proj=yes --with-projlib=/usr/lib
> --with-projinc=/usr/include --with-zlib=yes --with-zliblib=/usr/lib
> --with-zlibinc=/usr/include --with-expat=yes --with-expatlib=/usr/lib
> --with-expatinc=/usr/include
# I modified the configuration command and now with:
CFLAGS="-fPIC" ./configure --with-proj=yes --with-projlib=/usr/lib
--with-projinc=/usr/include --with-zlib=yes --with-zliblib=/usr/lib
--with-zlibinc=/usr/include --with-expat=yes --with-expatlib=/usr/lib
--with-expatinc=/usr/include
# I get:
[...]
Making shared library: /usr/local/src/ogdi-3.1.5/bin/Linux/libogdi31.so
gcc -shared -O -o /usr/local/src/ogdi-3.1.5/bin/Linux/libogdi31.so
ecs_dyna.o ecsregex.o ecssplit.o ecsassoc.o ecshash.o ecstile.o server.o
ecsdist.o ecslist.o ecsinfo.o ecsgeo.o ecs_xdr.o ecs_xdrz.o gmath.o
client.o ecs_capabilities.o -ldl /usr/lib /usr/lib /usr/lib -lm
/usr/bin/ld: /usr/lib: No such file: File format not recognized
collect2: ld returned 1 exit status
make[3]: *** [/usr/local/src/ogdi-3.1.5/bin/Linux/libogdi31.so] Error 1
make[3]: Leaving directory
`/usr/local/src/ogdi-3.1.5/ogdi/c-api/OBJ.Linux'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/src/ogdi-3.1.5/ogdi/c-api'
make[1]: *** [c-api] Error 2
make[1]: Leaving directory `/usr/local/src/ogdi-3.1.5/ogdi'
make: *** [ogdi] Error 2
# What is ld?
More information about the gdal-dev
mailing list