[gdal-dev] Re: error compiling gdal with ArcSDE support

Wouter Schaubroeck wouter.schaubroeck at gmail.com
Wed Sep 21 08:30:16 EDT 2011


Hi list,

Good news, I've fixed this issue by removing the libsde.so file from the
ArcSDE libraries.

But now I have another issue, this is the error I get:

/home/sde/bin/sde100/sdeexe100//lib/libsde.a(jcapimin.o): In function
`jpeg_CreateCompress':
jcapimin.c:(.text+0x0): multiple definition of `jpeg_CreateCompress'
/home/tux/bin/gdal/gdal-1.8.1/frmts/o/.libs/jcapimin.o:/home/tux/bin/gdal/gdal-1.8.1/frmts/jpeg/libjpeg/jcapimin.c:31:
first defined here

Have any of you encountered this issue before? I'm already compiling with
the --with-jpeg=internal option, but this didn't help. It looks like the
libsde.a file contains these methods already, and want to join the
jpeg-creation-game... Btw, this is not the only method that causes errors,
but the other errors are similar.

Thanks in advance,

Wouter


--
Wouter
http://blog.giswhat.be


On 15 September 2011 16:08, Wouter Schaubroeck <wouter.schaubroeck at gmail.com
> wrote:

> Hi list,
>
> I'm trying to compile gdal from source with added ArcSDE support, but it
> doesn't compile. I get this error:
>
> libsde.so: undefined reference to `pthread_atfork'
>
> My configure command looks like this:
> ./configure --with-sde=/home/sde/bin/sde100/sdeexe100/
> --with-sde-version=100 --prefix=/home/tux/bin/gdal/app/
>
> I'm compile on a fully patched and up to date OpenSuSE:
> Linux ospgsql 2.6.37.6-0.7-default #1 SMP 2011-07-21 02:17:24 +0200 x86_64
> x86_64 x86_64 GNU/Linux
>
> Do any of you guys know what the problem is? I've already tried the
> following:
> - disabling the multi threads: --with-threads=no
> - specifically included the libpthread.so.0 in the LD_LIBRARY_PATH
>
> Thanks in advance,
>
> Wouter
> --
> Wouter
> http://blog.giswhat.be
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110921/c742084a/attachment.html


More information about the gdal-dev mailing list