Torcs Crashes after clicking on "New Race "

David Savinkoff <[email protected]>
Newsgroups gmane.games.torcs.general
Message-ID <7243061.652501.1349635313400.JavaMail.nitido@priv-edtnes90>
On Sunday 07 October 2012 07:57, Anand Madhusoodanan wrote:
> Hi,
>     I managed to compile and install Torcs on Ubuntu 10.04. However, when i
> click on New Race after opening Torcs, it crashes with this message.
>
> linuxModLoad: ...  /usr/local/lib/torcs/modules/graphic/ssggraph.so:
> undefined symbol: alutLoadWAVFile
> /usr/local/bin/torcs: line 53:  1885 Segmentation fault
>  $LIBDIR/torcs-bin -l $LOCAL_CONF -L $LIBDIR -D $DATADIR $*
>
> I googled the problem(
> http://debian.2.n7.nabble.com/Bug-357835-Missing-library-flag-for-ALUT-from
>-openal-config-td60952.html) and
> tried to run torcs like this.
>
>
> torcs -I/usr/local/include -L/usr/local/lib -lopenal
>
> But it crashes again showing a different message.
>
> linuxModLoad: ...  -lopenal/modules/track/track.so: cannot open shared
> object file: No such file or directory
> /usr/local/bin/torcs: line 53:  1932 Segmentation fault
>  $LIBDIR/torcs-bin -l $LOCAL_CONF -L $LIBDIR -D $DATADIR $*
>
> Could someone help me out with this?
>
>
> Regards,
> Anand.

Here is a patch that I use for a similar problem:
(patch is between the lines of asterisks)
*************************************************
--- /torcs-1.3.1/src/modules/graphic/ssggraph/Makefile.freealutfix	2006-02-01 10:46:38.000000000 -0500
+++ /torcs-1.3.1/src/modules/graphic/ssggraph/Makefile	2006-02-01 10:46:56.000000000 -0500
@@ -24,7 +24,7 @@
 
 MODULEDIR = modules/graphic
 
-LIBS      = -lplibsl -lplibsm -lplibsg -lplibssg -lplibul -lplibssgaux -lopenal
+LIBS      = -lplibsl -lplibsm -lplibsg -lplibssg -lplibul -lplibssgaux -lopenal -lalut
 
 SHIPDIR   = config
 
*************************************************

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev

_______________________________________________
Torcs-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/torcs-users
torcs-1.3.1-freealutfix.patch (application/octet-stream, 438 B)
--- /torcs-1.3.1/src/modules/graphic/ssggraph/Makefile.freealutfix	2006-02-01 10:46:38.000000000 -0500
+++ /torcs-1.3.1/src/modules/graphic/ssggraph/Makefile	2006-02-01 10:46:56.000000000 -0500
@@ -24,7 +24,7 @@
 
 MODULEDIR = modules/graphic
 
-LIBS      = -lplibsl -lplibsm -lplibsg -lplibssg -lplibul -lplibssgaux -lopenal
+LIBS      = -lplibsl -lplibsm -lplibsg -lplibssg -lplibul -lplibssgaux -lopenal -lalut
 
 SHIPDIR   = config
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.