GDALAllRegister not found in libgdal

Hello

I am trying to install an R package rgdal but see the following error:

configure: error: GDALAllRegister not found in libgdal.
ERROR: configuration failed for package ‘rgdal’
* removing ‘/home/dave/R/packages/rgdal’

I’m supposing that libgdal needs to be installed. But I don’t see a libgdal in Yast, only a libgdal32. I have gdal and gdal-dev installed. I wonder if I have misunderstood the problem? Thank you.

@ds7878 Hi and welcome to the Forum :smile:
You likely need the development package zypper in gdal-devel libgdal32 contains the static libraies.

Hello Malcolm
thank you for the welcome! Great to be using openSUSE too!
Unfortunately that does not seem to be the solution, I already had it installed and when I ran the command to re-install it I had the message ‘No update candidate for ‘gdal-devel-3.6.2-1.4.x86_64’. The highest available version is already installed.’

I’m assuming it’s an issue not with the R package but with the ‘upstream’ gdal package?

Thanks
Dave

Hi
Ahh a local build, my bad… Have a look at the openSUSE spec file for some addition clues. What version are you trying to build?

Hi thanks, not a local build as I don’t do that. Anyway, going through checking what I had installed that might be vaguely related, I hadn’t installed proj-devel and now I have, that has done the trick. Don’t know why at the moment but will read around it. Thank you for your replies.