Jump to content
The Dark Mod Forums

tdmlauncher.linux fails after update to 1.01


anwyn

Recommended Posts

After a sucessfull update via tdm_update.linux the new tdmlauncher.linux fails with a variation of the library symbol error mentioned in the FAQ. This is on a 64bit Gentoo Linux system.

 

$ 27 [../darkmod]> uname -a
Linux winger 2.6.31-gentoo-r6 #1 PREEMPT Wed Dec 23 12:51:15 CET 2009 x86_64 AMD Athlon(tm) 64 Processor 3700+ AuthenticAMD GNU/Linux

 

$ 28 [../darkmod]> ldd ./tdmlauncher.linux 
./tdmlauncher.linux: /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/32/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by ./tdmlauncher.linux)
linux-gate.so.1 =>  (0xffffe000)
libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/32/libstdc++.so.6 (0xf7ebe000)
libm.so.6 => /lib32/libm.so.6 (0xf7e98000)
libgcc_s.so.1 => /lib32/libgcc_s.so.1 (0xf7e8a000)
libc.so.6 => /lib32/libc.so.6 (0xf7d42000)
/lib/ld-linux.so.2 (0xf7fe0000)

 

The system uses gcc 4.3.4, newer gcc's are still flagged unstable for this architecture.

Removing the libs from /opt/doom3 did not help, according to ldd they were not used anyway.

 

Any hints?

 

The previous TDM version did run fine (after I created a /export/tmp directory, because it could not handle that /home is a symlink to /export/home on my system).

Link to comment
Share on other sites

Damn! That will teach me to tarball my ~/.doom3/darkmod directory before upgrading.

 

I have the exact same issue as anwyn, also running GCC 4.3.4 on 64-bit Gentoo.

$uname -a
Linux janus 2.6.31-gentoo-r10 #1 SMP PREEMPT Sun Mar 21 15:47:25 EST 2010 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ AuthenticAMD GNU/Linux

 

After poking around in /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/32/ libstdc++.so.6 it seems GLIBCXX_3.4.10 is the

highest version supported.

 

So, because I can't bear to be without The Dark Mod, I've installed the next highest available GCC (4.4.1) and swap between the two when I want to play. i.e.

 

Unmask 4.4.1 by adding the following line to /etc/portage/package.keywords

=sys-devel/gcc-4.4.1

 

Install new version. Major version changes of GCC are slotted so won't be used by default.

# emerge -av =sys-devel/gcc-4.4.1

 

Check the new version is available and swap to it.

#gcc-config --list-profiles
[1] x86_64-pc-linux-gnu-4.3.4 *
[2] x86_64-pc-linux-gnu-4.4.1

#gcc-config x86_64-pc-linux-gnu-4.4.1
#source /etc/profile

 

Play The Dark Mod, launching in the usual way.

 

Swap back when done.

#gcc-config x86_64-pc-linux-gnu-4.3.4
#source /etc/profile

 

This last step is very important! I'm guessing the higher versions were masked for a reason so until they're marked stable I won't be be doing a system upgrade.

 

Anyway that's my work-around. It's a hassle but it works. If anyone knows of a better way please let me know.

Cheers

 

P.S Just my luck Gentoo will stabilize a higher GCC just as Dark Mod hits V1.02 ;-)

Link to comment
Share on other sites

Cool, I'm glad you found a work-around. I need to try it myself this evening. You can also try to start tdmlauncher.linux with preset LD_PRELOAD or LD_LIBRARY_PATH environment variables. Perhaps this will make the gcc-config switching unnecessary.

 

$ [.../darkmod]> LD_PRELOAD=/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/32/libstdc++.so.6 tdmlauncher.linux

 

or

 

$ [.../darkmod]> LD_LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/32/ tdmlauncher.linux

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • datiswous

      I tried to upscale the TDM logo video. First try:

      briefing_video.mp4 You can test it ingame by making a copy of the core tdm_gui.mtr and place it in your-tdm-root/materials/ , then edit line 249 of that file into the location where you placed the new briefing.mp4 file.
      What I did was I extracted all the image files, then used Upscayl to upscale the images using General photo (Real-Esrgan) upscale setting and then turn it back into a video.
      I might have to crop it a bit, the logo looks smaller on screen (or maybe it's actually better this way?). My video editor turned it into a 16:9 video, which I think overal looks better than 1:1 video of original.
      · 1 reply
    • nbohr1more

      Trying to be productive on my down-time before Capcom releases Akuma and my son is constantly on my PC playing Street Fighter...
      · 1 reply
    • OrbWeaver

      Finally got round to publishing a tutorial on baking normal maps in Blender, since most of the ones we have are inaccessible or years out of date.
      · 2 replies
    • nbohr1more

      The FAQ wiki is almost a proper FAQ now. Probably need to spin-off a bunch of the "remedies" for playing older TDM versions into their own article.
      · 1 reply
    • nbohr1more

      Was checking out old translation packs and decided to fire up TDM 1.07. Rightful Property with sub-20 FPS areas yay! ( same areas run at 180FPS with cranked eye candy on 2.12 )
      · 4 replies
×
×
  • Create New...