From owner-freebsd-ports@FreeBSD.ORG Mon Jun 19 16:41:36 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B1FB216A47A; Mon, 19 Jun 2006 16:41:36 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [80.253.10.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B78443D46; Mon, 19 Jun 2006 16:41:36 +0000 (GMT) (envelope-from bsam@ipt.ru) Received: from stat.sem.ipt.ru ([192.168.12.1] helo=srv.sem.ipt.ru) by mail.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1FsMof-000JaG-5N; Mon, 19 Jun 2006 20:41:33 +0400 Received: from bsam by srv.sem.ipt.ru with local (Exim 4.62 (FreeBSD)) (envelope-from ) id 1FsMpy-0004KM-Ez; Mon, 19 Jun 2006 20:42:54 +0400 To: Adi Pircalabu References: <20060617071239.1F08D16A56D@hub.freebsd.org> <44960134.9030502@cruzinternet.com> <20060619184110.321ff967@apircalabu.dsd.ro> <20060619191542.614d03ad@apircalabu.dsd.ro> From: Boris Samorodov Date: Mon, 19 Jun 2006 20:42:54 +0400 In-Reply-To: <20060619191542.614d03ad@apircalabu.dsd.ro> (Adi Pircalabu's message of "Mon, 19 Jun 2006 19:15:42 +0300") Message-ID: <61855713@srv.sem.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Jeff Molofee , freebsd-questions@freebsd.org, freebsd-ports@freebsd.org Subject: Re: linux_base-fc4 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 16:41:36 -0000 On Mon, 19 Jun 2006 19:15:42 +0300 Adi Pircalabu wrote: > (Really cc-ed to freebsd-ports@freebsd.org and Boris Samodorov a.k.a > bsam@ipt.ru) > On Mon, 19 Jun 2006 18:41:10 +0300 Adi Pircalabu wrote: > > On Sun, 18 Jun 2006 19:43:16 -0600 Jeff Molofee wrote: > > > > > After upgrading to linux_base-fc4, I've noticed a lot of > > > applications and games that will no longer run. One of the games is > > > HoH. I receive the following error when trying to run it... does > > > anyone know how to fix this? > > > > > > ./HoH: error while loading shared libraries: > > > libstdc++-libc6.2-2.so.3: cannot open shared object file: No such > > > file or directory > > > > Apparently that application needs (yet another?) compatibility Linux > > libraries, because it was built with g++-2.96 and linked against > > libstdc++-libc6.2-2.so.3. > > Feel free to send a problem report for this so it won't get lost, > > linux_base-fc4 maintainers should take a look at it and update the > > port. > Jeff, I've attached a patch for linux_base-fc4, can you please test it > and see if it fixes the dependency problem? Adi, you did the right thing -- that library is missing at the port. There are two hints. 1. The plist file is not full (one llibrary missing). I'd recommend you to test the patches (on probably fresh machine). Then on deinstalling you'll notice those files that remain undeletted. You may consider reading http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/ and http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/porting-testing.html to create a good (i.e. ready-to-commit) patches. 2. To create a good distinfo file for a linux port try to use "make PACKAGE_BUILDING=YES makesum". There are may source files (under GPL) which we must (at least) have while building linux (GPL) ports. PS. I've already sent Jeff a patch and he gave me a successful feedback. I hope this patch will be committed soon. WBR -- Boris B. Samorodov, Research Engineer InPharmTech Co, http://www.ipt.ru Telephone & Internet Service Provider