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

    • Ansome

      Finally got my PC back from the shop after my SSD got corrupted a week ago and damaged my motherboard. Scary stuff, but thank goodness it happened right after two months of FM development instead of wiping all my work before I could release it. New SSD, repaired Motherboard and BIOS, and we're ready to start working on my second FM with some added version control in the cloud just to be safe!
      · 0 replies
    • Petike the Taffer  »  DeTeEff

      I've updated the articles for your FMs and your author category at the wiki. Your newer nickname (DeTeEff) now comes first, and the one in parentheses is your older nickname (Fieldmedic). Just to avoid confusing people who played your FMs years ago and remember your older nickname. I've added a wiki article for your latest FM, Who Watches the Watcher?, as part of my current updating efforts. Unless I overlooked something, you have five different FMs so far.
      · 0 replies
    • Petike the Taffer

      I've finally managed to log in to The Dark Mod Wiki. I'm back in the saddle and before the holidays start in full, I'll be adding a few new FM articles and doing other updates. Written in Stone is already done.
      · 4 replies
    • nbohr1more

      TDM 15th Anniversary Contest is now active! Please declare your participation: https://forums.thedarkmod.com/index.php?/topic/22413-the-dark-mod-15th-anniversary-contest-entry-thread/
       
      · 0 replies
    • JackFarmer

      @TheUnbeholden
      You cannot receive PMs. Could you please be so kind and check your mailbox if it is full (or maybe you switched off the function)?
      · 1 reply
×
×
  • Create New...