Packaging issue for ogdi
Hi,
I just tested the GDAL autotest suite on Ubuntu 24.04 and I got test
failures on the OGDI tests
I get them passed by adding the following symlink:
ln -s /usr/lib/x86_64-linux-gnu/ogdi/4.1/libvrf.so /usr/lib/x86_64-linux-gnu
Which isn't needed with 22.04
Running "strace ogrinfo
gltp:/vrf//home/even/gdal/gdal/autotest/ogr/data/vm2alv2_texash/texash"
with 22.04, I see that it ends of loading libvrf.so in
/usr/lib/ogdi/4.1/libvrf.so
openat(AT_FDCWD, "/usr/lib/vrf", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No
such file or directory)
openat(AT_FDCWD, "/usr/lib/ogdi/4.1/vrf", O_RDONLY|O_CLOEXEC) = -1
ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/ogdi/4.1/libvrf.so", O_RDONLY|O_CLOEXEC) = 3
But doing the same on 24.04, it doesn't try
/usr/lib/x86_64-linux-gnu/ogdi/4.1/libvrf.so (without the symlink)
Digging further I see that in
http://archive.ubuntu.com/ubuntu/pool/universe/o/ogdi-dfsg/ogdi-dfsg_4.1.0+ds-5.debian.tar.xz
(for 22.04), there was a modules_path.patch that set
-DMODULES_PATH="\"/usr/lib/ogdi/4.1/\""
whereas
http://archive.ubuntu.com/ubuntu/pool/universe/o/ogdi-dfsg/ogdi-dfsg_4.1.1+ds-3build1.debian.tar.xz
(for 24.04), it is set to
-DMODULES_PATH="\"/usr/${DEB_HOST_MULTIARCH}/lib/ogdi/4.1/\""
==> There is an inversion in the path components between lib and
${DEB_HOST_MULTIARCH}. It should be
-DMODULES_PATH="\"/usr/lib/${DEB_HOST_MULTIARCH}/ogdi/4.1/\""
Even
--
http://www.spatialys.com
My software is free, but my time generally not.
Reply to: