Here's the b5.5 static binary, that I've just compiled for myself, just in case anyone's still needing it:
http://artfwo.googlepages.com/oggenc-aotuvb5a.bz2
Can you tell us the steps necessary to build that binary? I am thinking build here in Ubuntu 8.04 AMD64.
EDIT:
With some research, I got this:
libogg
./configure --prefix=$HOME/build/out --disable-shared --enable-static
make
make install
libvorbis
patch -p0 < aotuvb5.5-libvorbis1.2.0.diff
./configure --prefix=$HOME/build/out --disable-shared --enable-static --with-ogg=$HOME/build/out
make
make install
vorbis-tools
./configure --prefix=$HOME/build/out --disable-shared --enable-static --without-speex --without-flac --without-curl --disable-ogg123 --disable-oggdec --disable-ogginfo --disable-vcut --disable-vorbiscomment --with-ogg=$HOME/build/out --with-vorbis=$HOME/build/out
make
make install
The result was an oggenc binary in $HOME/build/out/bin. I tested and seens to be fine, the files encoded have correct codec signature of "AO; aoTuV b5a [20080330] (based on Xiph.Org's libVorbis)". The binary size is arround 2.2 MB (my Ubuntu is AMD64 version). Is this stuff right?