Whoa... Removing the libSDL* files from the ./lib folder completely seems to be fixing the issue... no libSDL files, X server not crashing, movies in game are playing with sound...
Go figure... Hehehe...
EDIT:
Ok for some weird reason I wanted the libSDL in the ./lib folder... Don't know why - I just did... Don't ask me...
Please note that this little manual does not installs anything. Please note that this manual does not removes anything from Your installation nor does it modifies anything within it. All You do is compile a certain lib (You do not actually make install it - just compiling as user). Please note that this little manual creates a backup copies of all the files that are being necessary to recover if anything goes wrong. If You are not sure of what is being done - please do not use this manual - yes it's easy and simple but I will not take any responsibility for something that could go wrong. Yes it worked flawlessly here but Your milage may vary. If You do decide to follow this little manual - please think - it does not hurts and may actualy help '>...Here is what I did:
Downloaded latest available libSDL to my home folder:
wget -c http://www.libsdl.or...L-1.2.15.tar.gz
Verified the gpg for the file
wget -c http://www.libsdl.or...2.15.tar.gz.sig
wget -c http://slouken.libsd...uken-pubkey.asc
gpg ./slouken-pubkey.asc
pub 1024D/A7763BE6 2001-01-05 Sam Lantinga <slouken at libsdl.org>
sub 1024g/06F8768C 2001-01-05
gpg --verify ./SDL-1.2.15.tar.gz.sig ./SDL-1.2.15.tar.gz
gpg: Signature made Sat 21 Jan 2012 02:41:53 AM GMT using DSA key ID A7763BE6
gpg: Can't check signature: public key not found
Unpacked it:
tar -zxvf ./SDL-1.2.15.tar.gz
Entered the cd ./SDL-1.2.15 folder.
cd ./SDL-1.2.15
Ran a few commands to prepare the compilation:
export PREFIX=`echo /usr/`
export PATH=$PREFIX/bin:$PATH
export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig:$PREFIX/share/pkgconfig
Then I have triggered the autogen script:
./autogen.sh --prefix=$PREFIX
Which then told me:
Now you are ready to run ./configure
And so I did:
./configure --prefix=$PREFIX
After a while it was done and it was 'make' time (You may experience some dependacy issues - solve them by installing the appropriate devel packages for Your system - I had some devels installed as I am compiling stuff sometimes so I had no issues).
make
Making will take a while... After that You need to locate the newly "made" libSDL file.
Gain root privilages
su
root password
Update the base of all files in Your installation
updatedb
Loose the root's privilages - You no longer need them.
exit
Locate the file
locate libSDL-1.2.so.0. | grep home
File was found in:
/home/andrzejl/SDL-1.2.15/build/.libs/libSDL-1.2.so.0.11.4
Now You can move Yourself to the lib folder in the game directory - in my case /media/games/NWN/lib/ - your milage may vary.
cd /media/games/NWN/lib/
Create folder that will be a backup folder for old libSDL files
mkdir ./libSDL_BackUp
Move old libSDL files to the newly created backup folder
mv ./libSDL-1* ./libSDL_BackUp/
Now copy the compiled libSDL file to the game lib folder
cp ~/SDL-1.2.15/build/.libs/libSDL-1.2.so.0.11.4 ./
And make symlink to it called libSDL-1.2.so.0 (just like it was called previously).
ln -s ./libSDL-1.2.so.0.11.4 ./libSDL-1.2.so.0
Now try playing the game - start it the way You always do.
If it worked for You - great - enjoy the movies with sound in the game.
Regards.
Andy
Modifié par AndrzejL, 12 mars 2012 - 02:47 .