ogg.m4 sets OGG_LIBS to incorrect path on some 64-bit distros
Some distros such as openSUSE use /usr/lib64 rather than /usr/lib, but ogg.m4 does not allow for this. I notice that whoever packaged ogg.m4 for openSUSE opted for hacking a patch into the spec file which is only applied on x86_64:
https://build.opensuse.org/package/view_file?expand=1&file=libogg.spec&package=libogg&project=openSUSE%3AFactory https://build.opensuse.org/package/view_file?expand=1&file=lib64.dif&package=libogg&project=openSUSE%3AFactory
Personally it's better if ogg.m4 itself is fixed, because then it works even when not building rpms. I'll attach a suggested patch ...