QUOTE(skamp @ Mar 9 2008, 02:36)

There's another way: make a wrapper script:
/usr/local/bin/aotuvCODE
#!/bin/sh
LD_PRELOAD=`echo /usr/local/lib/libvorbis*.so` oggenc "$@"
chmod 755 /usr/local/bin/aotuv and use that path in grip.
Thanks again.
The shell script seems to work great--it calls oggenc with the aotuv libs as it should at correct settings. But then I check the file with ogginfo:
QUOTE
...Processing file "slavonic_dances_op72_no1__odzemek_molto_vivace.ogg"...
Warning: Hole in data found at approximate offset 4500 bytes. Corrupted ogg.
New logical stream (#1, serial: 09d5e62e): type vorbis
Vorbis headers parsed for stream 1, information follows...
Version: 0
Vendor: AO; aoTuV b5 [20061024] (based on Xiph.Org's libVorbis)
Channels: 2
Rate: 44100...
I ran it a number of times with different tracks. No change. But if I run the command from the terminal, I get a perfect ogg, no error.
Strange. I've made the script a couple of times now, and still the error.
QUOTE(xmixahlx @ Mar 9 2008, 14:31)

another way is to compile vorbis-tools using the aotuv libs rather than the official libs, breakout oggenc and call it oggenc-aotuv.
that's what i did for rarewares to make it "easy"

I'll try your way next.