Fedora Linux Support Community & Resources Center
  #1  
Old 2nd August 2007, 08:22 AM
Vansolrick's Avatar
Vansolrick Offline
Registered User
 
Join Date: Mar 2007
Location: Tucson, Arizona
Age: 24
Posts: 203
Error launching Americas Army

I am running Fedora 7 x86_64

The game installed fine but when I go to launch it via konsol using "armyops" I get this error:

Code:
./armyops-bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
Ive messed around in the launch script but cannot figure out what needs changing. I have libstdc++ also. Does anyone know what is wrong?

Just in case, this is the launch script:

Code:
#!/bin/sh
#
# America's Army: Operations startup script
#

# Function to find the real directory a program resides in.
# Feb. 17, 2000 - Sam Lantinga, Loki Entertainment Software
FindPath()
{
    fullpath="`echo $1 | grep /`"
    if [ "$fullpath" = "" ]; then
        oIFS="$IFS"
        IFS=:
        for path in $PATH
        do if [ -x "$path/$1" ]; then
               if [ "$path" = "" ]; then
                   path="."
               fi
               fullpath="$path/$1"
               break
           fi
        done
        IFS="$oIFS"
    fi
    if [ "$fullpath" = "" ]; then
        fullpath="$1"
    fi

    # Is the sed/ls magic portable?
    if [ -L "$fullpath" ]; then
        #fullpath="`ls -l "$fullpath" | awk '{print $11}'`"
        fullpath=`ls -l "$fullpath" |sed -e 's/.* -> //' |sed -e 's/\*//'`
    fi
    dirname $fullpath
}

# Set the home if not already set.
if [ "${ARMYOPS_DATA_PATH}" = "" ]; then
    ARMYOPS_DATA_PATH="`FindPath $0`/System"
fi

LD_LIBRARY_PATH=.:${ARMYOPS_DATA_PATH}:${LD_LIBRARY_PATH}
export LD_LIBRARY_PATH

# Let's boogie!
if [ -x "${ARMYOPS_DATA_PATH}/armyops-bin" ]
then
	cd "${ARMYOPS_DATA_PATH}/"
	exec "./armyops-bin" $*
fi
echo "Couldn't run America's Army: Operations (armyops-bin). Is ARMYOPS_DATA_PATH set?"
exit 1

# end of armyops ...
Reply With Quote
Reply

Tags
americas, army, error, launching

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Americas Army madmorpheus Gamers' Lounge 15 30th August 2006 07:58 AM
Americas Army 2.6 psyklops Gamers' Lounge 5 26th June 2006 10:22 AM
Americas Army Fumbles Using Fedora 0 26th January 2006 06:16 AM
libstdc++ error when installing Americas Army cederstrom Using Fedora 2 8th July 2005 12:50 AM
americas army problem zeos Using Fedora 3 7th July 2004 01:15 PM


Current GMT-time: 17:07 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat