this might help to fix you configure:
sed -i 's|-lmfhdf -ldf|-L$libdir/hdf -lmfhdf -ldf|g' configure
On Wed, Apr 20, 2011 at 8:27 AM, Knut-Frode wrote:
> The paths are taken care of by configure, and they are checked to be ok. I
> also tried with standard installation folders (/usr/lib/ /usr/i
The paths are taken care of by configure, and they are checked to be ok.
I also tried with standard installation folders (/usr/lib/ /usr/include/
etc) but no difference. I did not compile, since configure fails.
So I believe it must be some incompatibility with the GDAL configure
script and the
when does the gcc
you must have: -L/Users/knutfd/Software/hdf-4.2.5/lib
in order to find the lib
so you need to do before the compile:
export LDFLAGS="$LDFLAGS -L/Users/knutfd/Software/hdf-4.2.5/lib"
and obviously you are going to need the include files also:
export CPPFLAGS="$CPPFLAGS -I/Use
I forgot to say, but I have also tried by specifying the location of
HDF4, with similar error:
...
checking for SDreaddata in -lmfhdfalt... no
checking for SDreaddata in -lmfhdf... no
checking for SDreaddata in -lhdf4... no
checking for SDreaddata in -lmfhdf... no
checking for SDreaddata in -lmf