Welcome! What OS are you on? If Windows or macOS, you could try the nightly builds (or Bill’s current Windows weekly builds, or Martin’s current macOS ones) that contain libgphoto2 2.5.31.
P.S. This is for testing only, the 4.6 release that is expected to include this version of libgphoto2 will come in December (for Linux it’ll depend on your distro naturally).