Hi Howard,<br><br>This did the trick! Thanks, you made my day...<br><br>grtz, w<br clear="all">--<br>Wouter<br><a href="http://blog.giswhat.be">http://blog.giswhat.be</a><br>
<br><br><div class="gmail_quote">On 21 September 2011 15:50, Howard Butler <span dir="ltr"><<a href="mailto:hobu.inc@gmail.com">hobu.inc@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im"><br>
On Sep 21, 2011, at 7:30 AM, Wouter Schaubroeck wrote:<br>
<br>
> Hi list,<br>
><br>
> Good news, I've fixed this issue by removing the libsde.so file from the ArcSDE libraries.<br>
><br>
> But now I have another issue, this is the error I get:<br>
><br>
> /home/sde/bin/sde100/sdeexe100//lib/libsde.a(jcapimin.o): In function `jpeg_CreateCompress':<br>
> jcapimin.c:(.text+0x0): multiple definition of `jpeg_CreateCompress'<br>
> /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<br>
><br>
> 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.<br>
<br>
</div>You'll have to link to an external jpeg library and then make sure that SDE SDK is first in the link line so its internal JPEG library symbols get used first. It is unfortunate that SDE is embedding JPEG (they used to embed an ancient and crackable zlib too)<br>
<div class="im"><br>
<br>
> Do any of you guys know what the problem is? I've already tried the following:<br>
> - disabling the multi threads: --with-threads=no<br>
> - specifically included the libpthread.so.0 in the LD_LIBRARY_PATH<br>
<br>
</div>libsde.so wants pthread, so you'll probably have to have --with-threads=yes Additionally, you might try adding -pthread to the GDALMake.opt line that adds -lpthread. Sometimes compilers treat this special.<br>
<br>
I don't know that removing libsde.so fixed the issue. This file has symbols that are definitely needed for things to run.<br>
<br>
Good luck,<br>
<font color="#888888"><br>
Howard<br>
<br>
<br>
</font></blockquote></div><br>