That's a peculiar situation - the makefile for libNCSEcwC (see
'makefile' in $INSTALL/Source/C/NCSEcw/NCSEcwC_SDK/) explicitly
requires linkage to libNCSEcw, libNCScnet and libNCSUtil, so you
shouldn't be able to build it without those libraries present on your
system.<br>
<br>
What are the contents of &lt;install directory&gt;/bin/&lt;platform&gt; after you run the build script?<br>
<br>
Also, what edits have you made to NCSNightlyBuildUnix.ksh?&nbsp; It is
usually necessary to edit the shebang line and the value of $NCSTOP -
the shebang line should point to your shell of choice, and $NCSTOP
should be the dir in which you unzipped the SDK archive.<br>
<br>
Maybe the files are being created somewhere you don't expect them to be.<br>
<br>
Tom.<br>
<br>
<br><br><div><span class="gmail_quote">On 6/21/05, <b class="gmail_sendername">Armin Burger</b> &lt;<a href="mailto:armin.burger@gmx.net">armin.burger@gmx.net</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Tom,<br><br>if you try the 'old build' method then only libNCSEcwC.so is created, but<br>not libNCSEcw.so, even if the documentation says it should so.<br><br>Armin<br><br>&gt; --- Ursprüngliche Nachricht ---<br>&gt; Von: Tom Lynch &lt;
<a href="mailto:tflynch@gmail.com">tflynch@gmail.com</a>&gt;<br>&gt; An: Bill Binko &lt;<a href="mailto:bill@binko.net">bill@binko.net</a>&gt;<br>&gt; Kopie: <a href="mailto:gdal-dev@remotesensing.org">gdal-dev@remotesensing.org
</a><br>&gt; Betreff: Re: [Gdal-dev] Compiling ECW JPEG 2000 SDK 3.2 beta<br>&gt; Datum: Tue, 21 Jun 2005 13:04:40 +0800<br>&gt;<br>&gt; Hi Bill,<br>&gt;<br>&gt; The problem is probably in GDAL ... the new &quot;libecwj2&quot; static build
<br>&gt; requires<br>&gt; a call to NCSecwInit() to be made prior to library use and a call to<br>&gt; NCSecwShutdown() be made following use. These initialize and shutdown<br>&gt; various resources (include those used by the mutexes) which would explain
<br>&gt; the segfault you're seeing.<br>&gt;<br>&gt; I will try to coordinate with Frank on getting the necessary changes into<br>&gt; GDAL - he may prefer to wait for a more stable version. In the meantime I<br>&gt; am<br>
&gt; actively working on providing more documentation and fewer hassles (and<br>&gt; probably an autoconf-based build - this was discussed a bit at OSG) as<br>&gt; soon<br>&gt; as possible.<br>&gt;<br>&gt; Cheers :-)<br>&gt;
<br>&gt; On 6/21/05, Bill Binko &lt;<a href="mailto:bill@binko.net">bill@binko.net</a>&gt; wrote:<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; Armin,<br>&gt; &gt;<br>&gt; &gt; Thanks: I tried the new build system to create libecwj2 and had it build
<br>&gt; &gt; correctly. I update GDAL to use it. However, I get a segfault on opening<br>&gt; &gt; a ECW file with gdalinfo with this stack:<br>&gt; &gt;<br>&gt; &gt; #0 0x405c1aa5 in NCSMutexBegin () from<br>&gt; &gt; /home/bill/cvsroot/ecw32beta/lib/libecwj2.so.1
<br>&gt; &gt; #1 0x40587474 in NCSecwGlobalLock () from<br>&gt; &gt; /home/bill/cvsroot/ecw32beta/lib/libecwj2.so.1<br>&gt; &gt; #2 0x40503a16 in CNCSJPCGlobalLock::Lock () from<br>&gt; &gt; /home/bill/cvsroot/ecw32beta/lib/libecwj2.so.1
<br>&gt; &gt; #3 0x40503a7b in CNCSJPCGlobalLock::CNCSJPCGlobalLock () from<br>&gt; &gt; /home/bill/cvsroot/ecw32beta/lib/libecwj2.so.1<br>&gt; &gt; #4 0x40520714 in CNCSJP2FileView::CNCSJP2FileView () from<br>&gt; &gt; /home/bill/cvsroot/ecw32beta/lib/libecwj2.so.1
<br>&gt; &gt; #5 0x40587b1d in CNCSFile::CNCSFile () from<br>&gt; &gt; /home/bill/cvsroot/ecw32beta/lib/libecwj2.so.1<br>&gt; &gt; #6 0x400d0a17 in ECWDataset::Open () from /usr/lib/libgdal.so.1<br>&gt; &gt; #7 0x400d1110 in ECWDataset::OpenECW () from /usr/lib/libgdal.so.1
<br>&gt; &gt; #8 0x4017963f in GDALOpen () from /usr/lib/libgdal.so.1<br>&gt; &gt; #9 0x08049ae7 in main ()<br>&gt; &gt;<br>&gt; &gt; I am going to try the old build process and see if that is more<br>&gt; &gt; successful.
<br>&gt; &gt;<br>&gt; &gt; Bill<br>&gt; &gt;<br>&gt; --<br>&gt; Tom Lynch<br>&gt; Development, ER Mapper<br>&gt; Phone: +61 8 93882900<br>&gt; Fax: +61 8 93882901<br>&gt; Email: <a href="mailto:tom.lynch@ermapper.com">tom.lynch@ermapper.com
</a><br>&gt; Web: <a href="http://www.ermapper.com">http://www.ermapper.com</a><br>&gt; Forums: <a href="http://forum.ermapper.com">http://forum.ermapper.com</a><br>&gt;<br><br>--<br>Geschenkt: 3 Monate GMX ProMail gratis + 3 Ausgaben stern gratis
<br>++ Jetzt anmelden &amp; testen ++ <a href="http://www.gmx.net/de/go/promail">http://www.gmx.net/de/go/promail</a> ++<br></blockquote></div><br><br><br>-- <br>Tom Lynch<br>Development, ER Mapper<br>Phone:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;+61 8 93882900
<br>Fax:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;+61 8 93882901<br>Email:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="mailto:tom.lynch@ermapper.com">tom.lynch@ermapper.com</a><br>Web:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.ermapper.com">http://www.ermapper.com</a><br>Forums:&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://forum.ermapper.com">
http://forum.ermapper.com</a>