Home | Webstore
Latest News: OOTP 26 Available - FHM 11 Available - OOTP Go! Available

Out of the Park Baseball 26 Buy Now!

  

Go Back   OOTP Developments Forums > Prior Versions of Our Games > Earlier versions of Out of the Park Baseball > Earlier versions of OOTP: Technical Support > Earlier versions of OOTP: Closed or Claim Fixed
Register Blogs FAQ Calendar Today's Posts Search

Closed Thread
 
Thread Tools
Old 11-14-2008, 06:29 AM   #1
lstephen666
Minors (Double A)
 
Join Date: Nov 2004
Posts: 118
LINUX: OOTP9 Start up problem

Hi,

I am getting the following error on attempting to start OOTP9:

./ootp9: /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by ./ootp9)

I use gentoo linux.

Sorry, I'm not entirely sure which versions or tools will provide the most useful output, so I've given none atm.

Thanks,
Levi
lstephen666 is offline  
Old 11-14-2008, 07:26 AM   #2
lstephen666
Minors (Double A)
 
Join Date: Nov 2004
Posts: 118
Some more googling seems to suggest this is a library versioning issue with the standard c++ library included with gcc.

The latest stable gcc for gentoo is gcc 4.1.2, but this symbol was only defined in versions > 4.2, which I guess the ootp binary must have been compiled with.

Does OOTP depend on that version or could the binary to be distributed be built with an older version of gcc?

I could upgrade gcc, but I'm really hesitant to do that for a library that a lot of programs depend on and where more recent versions are not marked as stable for my distro.

Thanks,
Levi
lstephen666 is offline  
Old 11-14-2008, 12:10 PM   #3
Tony M
Global Moderator
 
Tony M's Avatar
 
Join Date: Feb 2006
Location: Here
Posts: 6,156
Blog Entries: 3
I've pinged Paul at PISD as he'll be the best person to answer this query.
Tony M is offline  
Old 11-14-2008, 12:45 PM   #4
pisdpaul
Developer PISD & OOTP
 
pisdpaul's Avatar
 
Join Date: Apr 2008
Posts: 1,207
Quote:
Originally Posted by Tony M View Post
I've pinged Paul at PISD as he'll be the best person to answer this query.
Thanks Tony..

I have seen this before during testing. As you rightly point out its a dependency issue in stdlibc++ package. Each distro seems to run at different versions which is a nightmare from our point of view. I tried compiling on an earlier system but got errors from some other libs I link against needing a newer version of stdlibc++.

If you dont want to upgrade your system, which is understandable, then you may be able to install the newer verison along side your current version. I am not an expert in this feild so I would need to setup a test bed and play. You may be better off asking the experts on your distros forums as they prob will be able to give you a fix off the top of your head. I am guessing that a "chroot" based setup would fix your issues.

Please report back what you find out
pisdpaul is offline  
Old 11-14-2008, 06:47 PM   #5
lstephen666
Minors (Double A)
 
Join Date: Nov 2004
Posts: 118
I have played around with virtualbox a bit and also looked at chroot based stuff, but to me it seems as if it would be easier for me to install Ubuntu (or maybe even Windows ), on a separate partition and dual boot. Dual booting is an option and what I used to do to play OOTP before my old laptop died.

Is a static build an option? I realize there would be a cost in terms of file size, but no idea how much.

Thanks,
Levi
lstephen666 is offline  
Old 11-14-2008, 07:30 PM   #6
pisdpaul
Developer PISD & OOTP
 
pisdpaul's Avatar
 
Join Date: Apr 2008
Posts: 1,207
Quote:
Originally Posted by lstephen666 View Post
Is a static build an option? I realize there would be a cost in
Thanks,
Levi terms of file size, but no idea how much.
I looked into this more than once. However I was unable to source all the required static libs to link too. If I recall there was a problem statically linking stdlibc and libc++ as they require dynamic parts which contain system specific information. This means you can't create a truly static elf file. This can then cause stdlibc/stdlibc++ to fail to initialise and be more dificult to resolve. The GCC man page strongly recomends NOT to statically link these std libs. Which are the ones that you are having issue with.

I think the best option is to install a 2yr old distro for building. That way most (if not all) systems will have a later set of libs that are backward compatible. I just need to resolve a troublesome lib that wont link on older systems.

Confused? I know I am
pisdpaul is offline  
Old 11-14-2008, 08:53 PM   #7
lstephen666
Minors (Double A)
 
Join Date: Nov 2004
Posts: 118
Quote:
Originally Posted by pisdpaul View Post
I looked into this more than once. However I was unable to source all the required static libs to link too. If I recall there was a problem statically linking stdlibc and libc++ as they require dynamic parts which contain system specific information. This means you can't create a truly static elf file. This can then cause stdlibc/stdlibc++ to fail to initialise and be more dificult to resolve. The GCC man page strongly recomends NOT to statically link these std libs. Which are the ones that you are having issue with.
I was afraid there might be some sort of issue like that

Quote:
I think the best option is to install a 2yr old distro for building. That way most (if not all) systems will have a later set of libs that are backward compatible. I just need to resolve a troublesome lib that wont link on older systems.
Good to hear that it is being worked on though. Is this timeline for this something like OOTP 10 or is there a goal to have this happening for 9 as well?

Quote:
Confused? I know I am
Ah yes, the joys of c/linux/linking etc. I'm glad I don't have to work with issues like that every day.

Thanks for looking into this and good to hear it's being worked on, and good that there's a linux build for OOTP now

Levi
lstephen666 is offline  
Old 12-01-2008, 10:35 PM   #8
Speck
Minors (Single A)
 
Join Date: Apr 2002
Location: US
Posts: 61
Just wondering if you've had a chance to compile it on an older distribution. I downloaded the OOTP9 Linux version and I'm seeing the same error message (running Slackware 12.0 - gcc 4.1.2). Linux is the only OS I use at home, so I'm hesitant to upgrade my system now just for OOTP9 (since I'm planning to upgrade when the next Slackware version is released).

Thanks for producing a Linux version, now if only the SI guys would do the same for FM
Speck is offline  
Old 12-02-2008, 04:46 AM   #9
pisdpaul
Developer PISD & OOTP
 
pisdpaul's Avatar
 
Join Date: Apr 2008
Posts: 1,207
Quote:
Originally Posted by Speck View Post
Thanks for producing a Linux version, now if only the SI guys would do the same for FM
Good luck with that, I have been trying for many years and they don't seem interested. FML was originally developed on Linux (I was one of the two who started the project). The servers are Linux based, yet to my knowledge there is no plans to release the linux client. However FML is based on PISD, FM is not so it would need a fair amount of work to port it.

It is worth pointing out that the uptake on the Linux version of OOTP is rather pitiful. It has not even come close to covering my costs in making it. I can see why developers are not seriously considering Linux. Until enough poeple using Linux want and support commerical software, developers are not gonna spend time and money making them

Last edited by pisdpaul; 12-02-2008 at 04:55 AM.
pisdpaul is offline  
Old 12-02-2008, 02:04 PM   #10
Irishray
Moderator
 
Irishray's Avatar
 
Join Date: May 2007
Location: Dallas, TX
Posts: 359
Quote:
Originally Posted by pisdpaul View Post
It is worth pointing out that the uptake on the Linux version of OOTP is rather pitiful. It has not even come close to covering my costs in making it. I can see why developers are not seriously considering Linux. Until enough poeple using Linux want and support commerical software, developers are not gonna spend time and money making them
Very sad news indeed. I have totally switched all my ootp play to the Linux platform. It was a dream come true to me. Hopefully, more interest will materialize so that the Linux version will continue to live and breathe.

Ray
Irishray is offline  
Old 12-02-2008, 09:06 PM   #11
Speck
Minors (Single A)
 
Join Date: Apr 2002
Location: US
Posts: 61
Quote:
Originally Posted by pisdpaul View Post
It is worth pointing out that the uptake on the Linux version of OOTP is rather pitiful. It has not even come close to covering my costs in making it.
I would expect sales of the Linux version to be pretty slow, at least initially (it was only announced a month ago, correct?). Linux users aren't used to these types of games being produced for the OS, so it will take some time for the news to flow through the user base. I also hope you're able to continue making the Linux version, it really was a great surprise when I saw the news.
Speck is offline  
Old 01-29-2009, 05:42 AM   #12
Tony M
Global Moderator
 
Tony M's Avatar
 
Join Date: Feb 2006
Location: Here
Posts: 6,156
Blog Entries: 3
As there hasn't been any update in this thread since last year, it'll be moved to closed for housekeeping purposes. If there are still unresolved problems, let us know and we'll re-open it.
__________________
This signature is intentionally blank
Tony M is offline  
Closed Thread

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:51 AM.

 

Major League and Minor League Baseball trademarks and copyrights are used with permission of Major League Baseball. Visit MLB.com and MiLB.com.

Officially Licensed Product – MLB Players, Inc.

Out of the Park Baseball is a registered trademark of Out of the Park Developments GmbH & Co. KG

Google Play is a trademark of Google Inc.

Apple, iPhone, iPod touch and iPad are trademarks of Apple Inc., registered in the U.S. and other countries.

COPYRIGHT © 2023 OUT OF THE PARK DEVELOPMENTS. ALL RIGHTS RESERVED.

 

Powered by vBulletin® Version 3.8.10
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright © 2024 Out of the Park Developments