Re: torcs compilation problem

David Savinkoff <[email protected]> Sun, 25 May 2014 13:16:06 -0600 (MDT)
Newsgroups gmane.games.torcs.general
Message-ID <[email protected]>
You may not have the required development packages installed.

Be sure to have something similar to:
libexpat-dev

Maybe add the following to CFLAGS and CXXFLAGS
-lexpat

Correction: I meant CXXFLAGS, not CPPFLAGS in previous posts.

----- Athar Haque  wrote:
> No, that's where the error is coming.
> 
> On running this  - /home/USER/local/bin/torcs . I get this error.
> 
> "/home/USER/local/lib/torcs/torcs-bin: symbol lookup error:
> /home/USER/local/lib/torcs/lib/libtgf.so: undefined symbol:
> XML_ParserCreate"
> 
> 
> On Sun, May 25, 2014 at 10:19 PM, David Savinkoff wrote:
> 
> > ----- Athar Haque wrote:
> > > The directory listing appears to be same !
> > >
> > You should be able to run torcs with:
> >
> > /home/USER/local/bin/torcs
> >
> > I made a /home/USER/bin directory and put this script in it:
> > (named torcs)
> >
> > #!/bin/bash
> > /home/USER/local/bin/torcs > /dev/null 2>&1 &
> > exit
> >
> >
> > >
> > > On Sat, May 24, 2014 at 11:09 PM, David Savinkoff <[email protected]
> > >wrote:
> > >
> > > > Hi,
> > > >
> > > > Enclosed is my working TORCS 1.3.6 install directory listing.
> > > > Does Ubuntu only permit library '*.so'  in /lib/ directories?
> > > > Please compare the enclosed local/lib/torcs with your directory.
> > > >
> > > >
> > > > ----- Athar Haque wrote:
> > > > > same error :/
> > > >
> > > > I assume this error refers to the torcs-bin executable.
> > > >
> > > > >
> > > > > On Sat, May 24, 2014 at 5:59 AM, David Savinkoff wrote:
> > > > >
> > > > > > How does this work with TORCS 1.3.6 (works on CentOS)
> > > > > > (Note './configure --prefix=/home/USER/local')
> > > > > >
> > > > > > ./configure --prefix=/home/USER/local CFLAGS="-march=native -O3"
> > > > > > CPPFLAGS="-march=native -O3"
> > LDFLAGS="-Wl,--no-add-needed,--strip-all"
> > > > > > make
> > > > > > make install
> > > > > > make datainstall
> > > > > >
> > > > > > Old versions may need (libm) CFLAGS="-march=native -O3 -lm"
> > > > > >
> > > > > > ----- Athar Haque wrote:
> > > > > > > Any help with this ? :/
> > > > > > >

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs