User:Michelle2 Zenovka/voice

From Second Life Wiki
Jump to navigation Jump to search

How to cook the voice daemon so it runs ok on linux including 64-bit

ok brief description and details filled in on re-edits.

My viewer binary lives in /usr/games/ so my voice needs to go along side it in /usr/games

Create the following folder:-

/usr/share/slvoice

copy into this the following libraries from the latest offical linden distribution :-

  • libalut.so
  • libopenal.so.1
  • libortp.so
  • libuuid.so.1
  • libvivoxsdk.so

if you are 64 bit you also need to get libidn.so. I got this from http://packages.debian.org/sid/i386/libidn11/download as i need a 32bit version and there is no lib32 package for it. Download it then unpack with

dpkg --extract libidn11_1.9-1_i386.deb .

Also on 64bit you will need to install various lib32 packages (but i am unsure of which yet)

On 32bit you can probably skip some of those libraries above, but this is untested

create the following script as /usr/games/SLVoice

#!/bin/sh
export LD_LIBRARY_PATH=/usr/share/slvoice/::/lib32/:/usr/lib32/:/lib:/usr/lib/
/usr/games/SLVoice-bin -p tcp -h -c -ll -1

copy the voice binary to /usr/games/SLVoice-bin