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

    • 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 )
      · 3 replies
    • taffernicus

      i am so euphoric to see new FMs keep coming out and I am keen to try it out in my leisure time, then suddenly my PC is spouting a couple of S.M.A.R.T errors...
      tbf i cannot afford myself to miss my network emulator image file&progress, important ebooks, hyper-v checkpoint & hyper-v export and the precious thief & TDM gamesaves. Don't fall yourself into & lay your hands on crappy SSD
       
      · 7 replies
    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 7 replies
    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
×
×
  • Create New...