From owner-freebsd-questions@FreeBSD.ORG Mon Jun 20 21:44:49 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A8C3416A41C for ; Mon, 20 Jun 2005 21:44:49 +0000 (GMT) (envelope-from ryallsd@gmail.com) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6744943D49 for ; Mon, 20 Jun 2005 21:44:49 +0000 (GMT) (envelope-from ryallsd@gmail.com) Received: by rproxy.gmail.com with SMTP id i8so863087rne for ; Mon, 20 Jun 2005 14:44:48 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Vqxl10FpD46GoulL6+JMrXRb5Ee9yC5ze1LVZYTkqEAJgCEBZqPCGNJ6IWasur8+YY5JpvnweD6WbFYltJ71FgXWUjIMywrEGnATril0apMjRY5/O9yn2yX8TCegSqRInBLZOF2y0EpkU2bNibzikvtI5q/rX4yQm/FPPt71ZYs= Received: by 10.38.78.56 with SMTP id a56mr458228rnb; Mon, 20 Jun 2005 14:44:48 -0700 (PDT) Received: by 10.38.208.36 with HTTP; Mon, 20 Jun 2005 14:44:48 -0700 (PDT) Message-ID: Date: Mon, 20 Jun 2005 14:44:48 -0700 From: Derrick Ryalls To: Freek Nossin In-Reply-To: <20050620125831.06C168011011@smtp-out3.tiscali.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20050620125831.06C168011011@smtp-out3.tiscali.nl> Cc: freebsd-questions@freebsd.org Subject: Re: Battlefield 2 Server won't start X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Derrick Ryalls List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jun 2005 21:44:49 -0000 On 6/20/05, Freek Nossin wrote: > Hello, >=20 > I was happy when I saw that the Battlefield 2 Linux Server was released. = Now > I finally had the chance to run this server (a freebsd machine ofcourse ;= )) > I thought. After a smooth install (the most annoying parts was accepting = the > agreements) I tried to run the server. >=20 > I entered the following command in my BF2 directory: >=20 > ./start.sh >=20 > And then I got this "very nice" error message: >=20 > /usr/home/dennis/BF2/bf2/bin/ia-32/bf2_f: /usr/lib/libstdc++.so.5: versio= n > `GLIBCPP_3.2.2' not found (required by > /usr/home/dennis/BF2/bf2/bin/ia-32/bf2_f) >=20 > The library the program was looking for wasn't in the location it expecte= d, > as it is a linux library. I made a symbolic link to the correct file: >=20 > $ls -al /usr/lib/libstdc++.* > -r--r--r-- 1 root wheel 1709842 Jun 15 22:29 /usr/lib/libstdc++.a > lrwxr-xr-x 1 root wheel 14 Jun 15 22:29 /usr/lib/libstdc++.so -> > libstdc++.so.4 > -r--r--r-- 1 root wheel 834196 Jun 15 22:29 /usr/lib/libstdc++.so.4 > lrwxr-xr-x 1 root wheel 40 Jun 15 15:02 /usr/lib/libstdc++.so.5 -= > > /usr/compat/linux/usr/lib/libstdc++.so.5 > -r--r--r-- 1 root wheel 1705326 Jun 15 22:29 /usr/lib/libstdc++_p.a >=20 > and >=20 > $ls -al /usr/compat/linux/usr/lib/libstdc++.so.5* > lrwxrwxrwx 1 root wheel 18 Mar 21 21:42 > /usr/compat/linux/usr/lib/libstdc++.so.5 -> libstdc++.so.5.0.1 > -rwxr-xr-x 1 root wheel 4181584 Sep 4 2002 > /usr/compat/linux/usr/lib/libstdc++.so.5.0.1 >=20 > but I still get the same error message. Perhaps it has something to do wi= th > the note about GLIBCPP_3.2.2. I checked my GCC version, which is 3.2.1. C= an > this be the cause? Or what can else cause this kind of error? >=20 > I am currently running FreeBSD 5.3 >=20 > You could make my day I one of you know how to solve this! >=20 I don't have a solution for this, but here is what someone send me, and they claim it worked: installed linux_base-8-8 installed the server distro copied the libsc++.so.5 and so.1 to the game servers /ia_32 folder I haven't yet been able to try this out, so no promises and sounds like what you already did. If you do figure this out before the rest of us, please update the archives (send a mail telling what to do). Good luck to us all.