[Geotiff] Unable to compile libgeotiff

Manoj member at cessay.org
Fri Apr 19 23:07:08 PDT 2024


I am compiling libgeotiff using g++ (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0 . 

It fails after the follwing steps:

cd libgeotiff

./autogen.sh

./configure



The error at the ./confugure was

checking proj.h usability... no

checking proj.h presence... no

checking for proj.h... no

configure: error: proj.h not found



So I installed PROJ



$ sudo apt-get install proj-bin

Reading package lists... Done

Building dependency tree

Reading state information... Done

The following NEW packages will be installed:

  proj-bin

0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.

Need to get 32.3 kB of archives.

After this operation, 110 kB of additional disk space will be used.

Get:1 http://archive.ubuntu.com/ubuntu bionic/universe amd64 proj-bin amd64 4.9.3-2 [32.3 kB]

Fetched 32.3 kB in 1s (30.2 kB/s)

Selecting previously unselected package proj-bin.

(Reading database ... 113308 files and directories currently installed.)

Preparing to unpack .../proj-bin_4.9.3-2_amd64.deb ...

Unpacking proj-bin (4.9.3-2) ...

Setting up proj-bin (4.9.3-2) ...

Processing triggers for man-db (2.8.3-2ubuntu0.1) ...





Then I retried compiling libgeotiff. Still the error appeared. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geotiff/attachments/20240419/d3e717e5/attachment.htm>


More information about the Geotiff mailing list