Re: Weird Torcs error
Evgenios Kastanias <[email protected]> Thu, 14 Nov 2013 18:56:13 +0000 (UTC)
| Newsgroups | gmane.games.torcs.general |
|---|---|
| Message-ID | <[email protected]> |
> Can you post the output of "torcs -l"?
linux-vdso.so.1 => (0x00007fff981fe000)
libclient.so => /usr/local/lib/torcs/lib/libclient.so
(0x00007f5f67baf000)
libtgf.so => /usr/local/lib/torcs/lib/libtgf.so (0x00007f5f67ba3000)
libtgfclient.so => /usr/local/lib/torcs/lib/libtgfclient.so
(0x00007f5f67b86000)
libraceengine.so => /usr/local/lib/torcs/lib/libraceengine.so
(0x00007f5f67b75000)
libglut.so.3 => /usr/lib/x86_64-linux-gnu/libglut.so.3
(0x00007f5f67917000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f5f67712000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f5f67349000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
(0x00007f5f67046000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f5f66d40000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1
(0x00007f5f66b2a000)
libracescreens.so => /usr/local/lib/torcs/lib/libracescreens.so
(0x00007f5f66b18000)
librobottools.so => /usr/local/lib/torcs/lib/librobottools.so
(0x00007f5f66b0f000)
libGL.so.1 => /usr/lib/nvidia-310/libGL.so.1 (0x00007f5f667ec000)
libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6
(0x00007f5f664b2000)
/lib64/ld-linux-x86-64.so.2 (0x00007f5f68069000)
libnvidia-tls.so.310.44 => /usr/lib/nvidia-310/tls/libnvidia-
tls.so.310.44 (0x00007f5f662ae000)
libnvidia-glcore.so.310.44 => /usr/lib/nvidia-310/libnvidia-
glcore.so.310.44 (0x00007f5f63dbb000)
libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6
(0x00007f5f63ba9000)
libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1
(0x00007f5f6398a000)
libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6
(0x00007f5f63786000)
libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6
(0x00007f5f6357f000)
> 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
Yes I compiled plib with -fPIC so I don't think its the issue either.
> You need first to change to the directory containing libtgf.so, see
> output of "torcs -l" to locate it (or use find/file browser).
Ok, now the output is as you said
nm libtgf.so | grep XML_ParserCreate
U XML_ParserCreate
> 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...)?
Yeah, I agree that with Windows I would have had less trouble but I was told
by my supervisor to do this in Linux. To be honest I have learned alot
despite all the issues I have!
Also a poster below suggested that I run "ldd torcs-bin". It couldn't find
some libraries like libtgf.so and libtgfclient.so all of them in the
/usr/local/lib/torcs/lib directory so I added them to LD_LIBRARY_PATH.
Unfortunately I still get the same error.
Again I thank you for your time and effort in helping me!
------------------------------------------------------------------------------
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