[R-sig-Geo] simple yet durable error when trying to build GDAL 1.4.0 with HDF4 support

Maris Nartiss maris.gis at gmail.com
Thu Jan 18 10:43:39 CET 2007


Hi,

just a hint, maybee helps:
1) check, that libs are in /opr/foo and not /opt/foo/lib
2) add /opt/foo to /etc/ld.so.conf (sudo echo '/opt/foo' >> /etc/ld.so.conf)
3) run ldconfig as root (sudo ldconfig)
4) try to configure with same params.


Maris.


2007/1/17, Rick Reeves <reeves at nceas.ucsb.edu>:
>
> Hello All:
>
> Ive searched for a solution to this elsewhere but now will post the
> question here:
>
> Im building GDAL 1.4.0 library from source to include HDF4 library on
> ubuntu linux Daper Drake.
>
> Have expanded the HDF4 binaries (which include the libmfhdf.a archive
> required
> by GDAL) and the GDAL source build archive and am running ./configure
> per http://gdal.org/gdal_building.html. When I run the ./configure script
> with the argument:
>
>     --with-hdf4=/opt/4.2r1-linux (this path contains the libraries)..
>
> I get the error :
>
>   " configure: error: HDF4 support requested with arg /opt/4.2r1-linux,
>    but neither hdf4 or mfhdf lib found."
>
> Google search reveals that several others have encountered this issue
> in the past, but no solution is posted.
>
> Has anyone encountered and perhaps resolved this?
>
> Thanks in advance,
> Rick Reeves
>
> --
> Rick Reeves	
> Scientific Programmer / Analyst	
> National Center for Ecological Analysis and Synthesis
> UC Santa Barbara
> reeves at nceas.ucsb.edu
> www.nceas.ucsb.edu
> 805 892 2533
>
>
>




More information about the R-sig-Geo mailing list