You are not logged in.

#1 2008-10-26 23:44:53

BeholdMyGlory
Member
Registered: 2008-08-30
Posts: 93

Heroes of Might and Magic 3 TCP/IP; downgrade glibc?

I've recently installed Heroes of Might and Magic 3 (native loki version), but when choosing TCP/IP in multiplayer menu, the game crashes, and I get the following error message:

heroes3: dynamic-link.h:57: elf_get_dynamic_info: Assertion `! "bad dynamic tag"' failed.                                                                     

BUG!  Exception triggered, cleaning up.
Heroes of Might & Magic III 1.3.1a     
Built with glibc-2.1 on x86            
Stack dump:                            
{                                      
[0x82062d3]                            
[0x820645b]
[0xb8077400]
[0x82f93d3]
[0x82f5b9e]
[0x8336947]
[0x83372e1]
[0x831c2e1]
[0x831bfdb]
[0x831c474]
[0x831939f]
[0x831bfdb]
[0x8318c22]
[0x83191df]
[0x8334ad7]
[0x8319f7e]
[0x8319ba2]
[0x82057d3]
[0x814c873]
[0x814c914]
[0x814b2fd]
[0x81fa321]
[0x814b3bd]
[0x81fa909]
[0x81fa035]
[0x81fbb4c]
[0x81f9fa8]
[0x812fa51]
[0x812f5ed]
[0x812e7b7]
[0x8137e5c]
[0x82f5abd]
[0x8048111]
}
Please send the text of the failed assertion,
along with the contents of autosave to: support@lokigames.com
Unable to execute loki_qagent - exiting

According to a thread in the OpenSUSE forums (http://forums.opensuse.org/archives/sf- … c-3-a.html), the solution is downgrading libc6 to 2.2*. After some googling, I found that libc6 is the same as glibc, is this a correct assumption?
Well, anyway, when trying to build glibc 2.2.5 (from http://ftp.gnu.org/gnu/glibc/glibc-2.2.5.tar.gz), i get the following error at ./configure:

checking for a BSD compatible install... /bin/install -c                                                                                                      
checking whether ln -s works... yes                                                                                                                           
checking for pwd... /bin/pwd                                                                                                                                  
checking build system type... i686-pc-linux-gnu                                                                                                               
checking for gcc... gcc                                                                                                                                       
checking version of gcc... 4.3.2, bad                                                                                                                         
checking for gnumake... no                                                                                                                                    
checking for gmake... no                                                                                                                                      
checking for make... make                                                                                                                                     
checking version of make... 3.81, ok                                                                                                                          
configure: error:                                                                                                                                             
*** These critical programs are missing or too old:gcc                                                                                                        
*** Check the INSTALL file for required versions.

It seems weird that it's complaining about gcc being too old, when INSTALL claims it needs "GCC 2.95 or newer", and gcc --version outputs "gcc (GCC) 4.3.2".

Any help is greatly appreciated.

Offline

#2 2008-10-27 18:21:57

Slammer64
Member
From: Ozark Mountains of Missouri
Registered: 2007-07-28
Posts: 113

Re: Heroes of Might and Magic 3 TCP/IP; downgrade glibc?

There is an answer, you could try using the compat libs that the from the gentoo wiki on running old Loki games, the site is down but you can find it in the Google cache, I use it to run the Loki port of SMAC/X. You need the compat libs from: http://www.swanson.ukfsn.org/loki/loki_ … .3.tar.bz2 and try running HMM3 with LD_PRELOAD=/usr/local/lib/Loki_Compat/libstdc++-3-libc6.2-2-2.10.0.so:/usr/local/lib/Loki_Compat/libsmpeg-0.4.so.0.1.3:/usr/local/lib/Loki_Compat/libsmjpeg-0.2.so.0 /opt/heroes3/heroes3.dynamic
That's just an example, you you can adapt it to your system. Hope it works.

Last edited by Slammer64 (2008-10-27 18:22:25)


Somewhere, just out of sight, the Penguins are gathering!

Offline

#3 2008-10-27 19:49:08

BeholdMyGlory
Member
Registered: 2008-08-30
Posts: 93

Re: Heroes of Might and Magic 3 TCP/IP; downgrade glibc?

Slammer64 wrote:

There is an answer, you could try using the compat libs that the from the gentoo wiki on running old Loki games, the site is down but you can find it in the Google cache, I use it to run the Loki port of SMAC/X. You need the compat libs from: http://www.swanson.ukfsn.org/loki/loki_ … .3.tar.bz2 and try running HMM3 with LD_PRELOAD=/usr/local/lib/Loki_Compat/libstdc++-3-libc6.2-2-2.10.0.so:/usr/local/lib/Loki_Compat/libsmpeg-0.4.so.0.1.3:/usr/local/lib/Loki_Compat/libsmjpeg-0.2.so.0 /opt/heroes3/heroes3.dynamic
That's just an example, you you can adapt it to your system. Hope it works.

It worked! Thank you, very much.
I actually just had to run "LD_LIBRARY_PATH=/lib/Loki_Compat/ /lib/Loki_Compat/ld-linux.so.2 /usr/local/share/games/Heroes3/heroes3.dynamic" as it said in the readme and it worked like a charm smile

Last edited by BeholdMyGlory (2008-10-27 19:50:33)

Offline

#4 2009-06-02 20:21:01

hatten
Arch Linux f@h Team Member
From: Sweden, Borlange
Registered: 2009-02-23
Posts: 736

Re: Heroes of Might and Magic 3 TCP/IP; downgrade glibc?

What i know ubuntu have got their own forums, and 6.10 is pretty unsupported too. Install arch linux and come back here after that, or upgrade ubuntu to at least 8.04 and go to the ubuntu forums.

Offline

Board footer

Powered by FluxBB