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>Thanks in advance,<br><br>Wouter<br><br><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 15 September 2011 16:08, Wouter Schaubroeck <span dir="ltr"><<a href="mailto:wouter.schaubroeck@gmail.com">wouter.schaubroeck@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi list,<div><br></div><div>I'm trying to compile gdal from source with added ArcSDE support, but it doesn't compile. I get this error:</div><div><br></div><div>libsde.so: undefined reference to `pthread_atfork'</div>
<div><br></div><div>My configure command looks like this:</div><div>./configure --with-sde=/home/sde/bin/sde100/sdeexe100/ --with-sde-version=100 --prefix=/home/tux/bin/gdal/app/</div><div><br></div><div>I'm compile on a fully patched and up to date OpenSuSE:</div>
<div>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</div><div><br></div><div>Do any of you guys know what the problem is? I've already tried the following:</div><div>
- disabling the multi threads: --with-threads=no</div><div>- specifically included the libpthread.so.0 in the LD_LIBRARY_PATH</div><div><br></div><div>Thanks in advance,</div><div><br></div><div>Wouter<br clear="all"><font color="#888888">--<br>
Wouter<br><a href="http://blog.giswhat.be" target="_blank">http://blog.giswhat.be</a><br>
</font></div>
</blockquote></div><br>