Re: Weird Torcs error
Evgenios Kastanias <[email protected]> Thu, 14 Nov 2013 00:23:58 +0000 (UTC)
| Newsgroups | gmane.games.torcs.general |
|---|---|
| Message-ID | <[email protected]> |
> Hi Eugene > > I found an old entry in the list, so this was reported once before, but > the reporter did not come back. Here it happened as well, but I guess he > did not pass the right parameters to configure, because moving the > "torcs" script solved his case: > http://www.linuxcore.fr/2013/01/torcs-the-race/ > > Anyway, to diagnose the problem, please check: > - How did you start torcs, just with "torcs" on the shell? Does "which > torcs" point to the file of your build or maybe to another version? > - Does "torcs -l" find the libraries? > - If you open the "torcs" script, does LIBDIR etc. look good, are the > torcs libraries in $LIBDIR/lib (the "torcs" script is generated during > the build process based on your configure settings)? > - Do you have the Ubuntu packaged TORCS version installed, if yes, > remove all of it (or just use it, but do not mix). > - Did the configure/build work fine, anything special about that (maybe > the linker reported that it ditched something), what options did you use > (configure --help), any special compiler/linker options? > - if you run "nm libtgf.so | grep XML_ParserCreate", is the symbol found > (returns here "U XML_ParserCreate"). If not, then we need to figure out why. > - is it possible that your dynamic linking is somehow hardened/outdated, > check ld.so.conf, ldconfig and $LD_LIBRARY_PATH). > > So you see it is very hard to guess from here... can you work through > the list and post your findings? > Hey Bernhard For starting torcs I write "torcs" on the terminal, thats where I get the error. "which torcs" points to /usr/local/bin/torcs which is a shell script. Torcs-l has all the libraries including "libtgf.so => /usr/local/lib/torcs/lib/libtgf.so" Opening the torcs script everything seems to be OK. I didn't have the Ubuntu packaged Torcs(If you mean the one I can install with apt-get install Torcs). I only installed from the 500MB package from sourceforge. 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?). 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 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 ld.so.conf gives me "ld.so.conf: command not found" ldconfig I ran as root and it doesn't have any output as far as I know cause it is a program (I think) $LD_LIBRARY_PATH returns "bash: /usr/local/lib: Is a directory" Being a Linux newbie thank you for taking the time to help me. I hope I gave some insight with what I wrote here. ------------------------------------------------------------------------------ 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