Skip to content

Running configure: error: wrong libh3 is required or lib not found #7

Description

@ArniJohannesson

Followed latest install instructions:

https://h3geo.org/docs/installation

I am on Ubuntu Focal. Next, running ./configure as per the php-h3 install instructions, I get a failure with the message:

... Stuff ...
checking for PHP extension directory... /usr/lib/php/20190902
checking for PHP installed headers prefix... /usr/include/php/20190902
checking if debug is enabled... no
checking if zts is enabled... no
checking for gawk... gawk
checking whether to enable h3 support... yes, shared
checking for degsToRads in -lh3... no
configure: error: wrong libh3 is required or lib not found

Has the H3 library changed too much so this binding no longer works, or is there something else going on, like binaries not being where they are supposed to or something?

As an aside, I cannot find the geoToH3 binary anywhere on my system - instead I got:

# ls -lah /usr/local/bin/
total 4.2M
drwxr-xr-x  2 root root   14 May  2 18:20 .
drwxr-xr-x 10 root root   11 May 29  2020 ..
-rwxr-xr-x  1 root root 126K May  2 18:19 cellToBoundary
-rwxr-xr-x  1 root root 130K May  2 18:19 cellToBoundaryHier
-rwxr-xr-x  1 root root 126K May  2 18:19 cellToPoint
-rwxr-xr-x  1 root root 130K May  2 18:19 cellToPointHier
-rwxr-xr-x  1 root root 2.2M Feb  7 12:52 composer
-rwxr-xr-x  1 root root 126K May  2 18:19 gridDisk
-rwxr-xr-x  1 root root 122K May  2 18:19 gridDiskUnsafe
-rwxr-xr-x  1 root root 130K May  2 18:19 h3ToComponents
-rwxr-xr-x  1 root root 126K May  2 18:19 h3ToHier
-rwxr-xr-x  1 root root 134K May  2 18:19 h3ToLocalIj
-rwxr-xr-x  1 root root 134K May  2 18:19 localIjToH3
-rwxr-xr-x  1 root root 126K May  2 18:19 pointToCell

Thanks.!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions