Hi List, I have run into an error with ogr on another program FeatureServer, which started a catastrophic string of events.<br><br>So, basically gdal broke and I&#39;m working on reinstalling it.&nbsp; I had a few difficult errors to get by, but now I&#39;m stuck at:
<br><br>g++ ogrinfo.o -o .libs/ogrinfo&nbsp; /usr/local/src/gdal-1.4.2/.libs/libgdal.so -L/usr/local/lib -L/usr/local/src/netcdf-3.6.2 -L/usr/local/src/netcdf-3.6.2/lib -lrt -L/usr/lib64 -lcurl -L/usr/kerberos/lib -L/usr/kerberos/lib64 -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz -Wl,--rpath -Wl,/usr/lib64
<br>/usr/local/src/gdal-1.4.2/.libs/libgdal.so: undefined reference to `png_error&#39;<br>/usr/local/src/gdal-1.4.2/.libs/libgdal.so: undefined reference to `png_get_interlace_type&#39;<br>/usr/local/src/gdal-1.4.2/.libs/libgdal.so: undefined reference to `png_sig_cmp&#39;
<br>etc. etc. lots of undefined reference...<br>/usr/local/src/gdal-1.4.2/.libs/libgdal.so: undefined reference to `png_get_PLTE@PNG12_0&#39;<br>/usr/local/src/gdal-1.4.2/.libs/libgdal.so: undefined reference to `png_get_tRNS@PNG12_0&#39;
<br>collect2: ld returned 1 exit status<br>make[1]: *** [ogrinfo] Error 1<br>make[1]: Leaving directory `/usr/local/src/gdal-1.4.2/ogr&#39;<br>make: *** [ogr-apps] Error 2<br><br>my configuration options are: <br>./configure CFLAGS=-fPIC CPPFLAGS=-fPIC CXXFLAGS=-fPIC --with-netcdf=/usr/local/src/netcdf-
3.6.2 --with-png=/usr/local/lib<br><br>I&#39;m guessing the libpng library is not getting linked, but I&#39;m just not sure what to do about it.<br><br>Anyone have any ideas? <br>Thanks!<br>-Ed<br>