Re: Weird Torcs error

Bernhard Wymann <[email protected]> Thu, 14 Nov 2013 12:31:15 +0100
Newsgroups gmane.games.torcs.general
Organization wytec
Message-ID <[email protected]>
Hi Eugene

Can you post the output of "torcs -l"?
> Configure works as it should, no errors or anything. When I write "make" I
> get no errors as well. I also run it like this "make >& error.log" but
> search the file I can't find any errors. I didn't use any options either on
> configure or make(maybe I had to put something for 64bit there?).

No, not required, the only thing which needs some tweaking regarding 64 
bit is plib (not part of TORCS itself), it must usually be compiled with 
-fPIC (see 
http://torcs.sourceforge.net/index.php?name=Sections&op=viewarticle&artid=30#c2_3). 
But I guess (!) that's not the problem here.

> Here things get interesting as when I type the "nm libtgf.so | grep
> XML_ParserCreate" command in the terminal I get this :> nm: 'libtgf.so': No
> such file

You need first to change to the directory containing libtgf.so, see 
output of "torcs -l" to locate it (or use find/file browser).

> Unfortunately I didn't know exactly what to do with ld.so.conf, ldconfig and
> $LD_LIBRARY_PATH so I ran them in the terminal

Ok, sorry for the confusion:-)
- ldconfig: command to manage linker cache for ld.so (see "man ldconfig")
- ld.so.conf, configuration file, see also "man ldconfig"
- $LD_LIBRARY_PATH: Environment variable to adjust search for linked 
libraries, it is used as well in the "torcs" script (see around line 40).

> Being a Linux newbie thank you for taking the time to help me. I hope I gave
> some insight with what I wrote here.

Btw. some other thought, if you are new to Linux, why are you using it 
at all, what about using Windows for your work, would that be an option 
(of course I encourage the use of Linux, but in the context of limited 
time/fixed schedule it could make sense to use a familiar platform to 
have less battles to fight...)?

Best regards

Bernhard

------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk