I am learning C so humor me. I have a simple script but everytime I run it I get a segmentation fault. Any ideas?<br><br>#include &lt;shapefil.h&gt;<br><br>int main (void)<br>{<br>    const char * shapefile = &quot;/mnt/share/uas/GRRUVI2_uc/<div id=":25w" class="ii gt">

extractor/colorado/fe_2007_08_county&quot;;<br>
    SHPHandle handle;<br>    int entities;<br>    int type;<br>    double minbound;<br>    double maxbound;<br>    <br>    printf(&quot;%s\n&quot;, shapefile);<br>    <br>    handle = SHPOpen(shapefile,&quot;rb&quot;);<br>


    SHPGetInfo( handle,&amp;entities,&amp;type,&amp;minbound,&amp;maxbound);<br>    <br>    SHPClose(handle);<br>    return 0;<br>}</div><br clear="all"><br>-- <br>Jamie Ryan Lahowetz<br>University of Nebraska - Lincoln<br>

Graduate Student - Geosciences<br>402.304.0766<br><a href="mailto:jlahowetz@gmail.com">jlahowetz@gmail.com</a><br>