From owner-freebsd-questions@FreeBSD.ORG Mon Jun 20 12:58:37 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 45E5D16A41C for ; Mon, 20 Jun 2005 12:58:37 +0000 (GMT) (envelope-from freeknossin@tiscali.nl) Received: from smtp-out3.tiscali.nl (smtp-out3.tiscali.nl [195.241.79.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0BCC543D49 for ; Mon, 20 Jun 2005 12:58:36 +0000 (GMT) (envelope-from freeknossin@tiscali.nl) Received: from edsger (195-241-9-180-mx.xdsl.tiscali.nl [195.241.9.180]) by smtp-out3.tiscali.nl (Postfix) with ESMTP id 06C168011011; Mon, 20 Jun 2005 14:58:31 +0200 (CEST) From: "Freek Nossin" To: Date: Mon, 20 Jun 2005 14:58:45 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 Thread-Index: AcVzINNT0WbkNc5PQQSb0osnCxV7lwCdPbyA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 Message-Id: <20050620125831.06C168011011@smtp-out3.tiscali.nl> Subject: Battlefield 2 Server won't start X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jun 2005 12:58:37 -0000 Hello, 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. I entered the following command in my BF2 directory: ./start.sh And then I got this "very nice" error message: /usr/home/dennis/BF2/bf2/bin/ia-32/bf2_f: /usr/lib/libstdc++.so.5: version `GLIBCPP_3.2.2' not found (required by /usr/home/dennis/BF2/bf2/bin/ia-32/bf2_f) The library the program was looking for wasn't in the location it expected, as it is a linux library. I made a symbolic link to the correct file: $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 and $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 but I still get the same error message. Perhaps it has something to do with the note about GLIBCPP_3.2.2. I checked my GCC version, which is 3.2.1. Can this be the cause? Or what can else cause this kind of error? I am currently running FreeBSD 5.3 You could make my day I one of you know how to solve this! Kind Regards, Dennis