Re: Weird Torcs error

Evgenios Kastanias <[email protected]> Thu, 14 Nov 2013 18:59:27 +0000 (UTC)
Newsgroups gmane.games.torcs.general
Message-ID <[email protected]>
Arnaud Ceyrolle <aceyrolle <at> googlemail.com> writes:


> Or you can list the libraries you are missing by doing a "ldd torcs-bin" 
on the binary of Torcs (not the shell) and then adding all the paths of the 
libraries it lists on the output to the LD_LIBRARY_PATH (only the Torcs-
specifics one).
> 
> Regards
> --
> Arnaud Ceyrolle

I follow your advice and sure enough when doing "ldd torcs-bin" it couldn't 
find the libraries in /usr/local/lib/torcs/lib like libtgf.so and so on.
I added the path to LD_LIBRARY_PATH and running the same command I get this 
output that it can find all of them

linux-vdso.so.1 =>  (0x00007fff08ffe000)
	libclient.so => /usr/local/lib/torcs/lib/libclient.so 
(0x00007f5c97034000)
	libtgf.so => /usr/local/lib/torcs/lib/libtgf.so (0x00007f5c97028000)
	libtgfclient.so => /usr/local/lib/torcs/lib/libtgfclient.so 
(0x00007f5c9700b000)
	libraceengine.so => /usr/local/lib/torcs/lib/libraceengine.so 
(0x00007f5c96ffa000)
	libglut.so.3 => /usr/lib/x86_64-linux-gnu/libglut.so.3 
(0x00007f5c96d9c000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f5c96b97000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f5c967ce000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 
(0x00007f5c964cb000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f5c961c5000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 
(0x00007f5c95faf000)
	libracescreens.so => /usr/local/lib/torcs/lib/libracescreens.so 
(0x00007f5c95f9d000)
	librobottools.so => /usr/local/lib/torcs/lib/librobottools.so 
(0x00007f5c95f94000)
	libGL.so.1 => /usr/lib/nvidia-310/libGL.so.1 (0x00007f5c95c71000)
	libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 
(0x00007f5c95937000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f5c974ee000)
	libnvidia-tls.so.310.44 => /usr/lib/nvidia-310/tls/libnvidia-
tls.so.310.44 (0x00007f5c95733000)
	libnvidia-glcore.so.310.44 => /usr/lib/nvidia-310/libnvidia-
glcore.so.310.44 (0x00007f5c93240000)
	libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 
(0x00007f5c9302e000)
	libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 
(0x00007f5c92e0f000)
	libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 
(0x00007f5c92c0b000)
	libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 
(0x00007f5c92a04000)


But I get the same error again. Thanks for your help in my issue!


------------------------------------------------------------------------------
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