I'm running some python code on EC2 that uses shape files and has a dependency on the geos_c
library. It's raising a Could not find lib geos_c or load any of its variants
error.
I've applied updates and followed the steps from https://libgeos.org/usage/install/#amazon-linux, namely:
# Apply updates
sudo yum update -y
# Install geos
sudo yum install -y amazon-linux-extras
sudo amazon-linux-extras enable epel
sudo yum search geos
sudo yum install geos geos-devel
Unfortunately this returns Warning: No matches found for: geos
, so it looks like this package is not currently available in the EPEL version in Amazon Linux.
This is a vanilla instance of Amazon Linux using Amazon Linux 2 AMI (HVM) - Kernel 5.10
with 64-bit (Arm)
architecture.
What's the best way to install the geos library?