From owner-freebsd-ports@FreeBSD.ORG Mon Feb 4 14:52:13 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B88A616A41A for ; Mon, 4 Feb 2008 14:52:13 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from cp65.agava.net (cp65.agava.net [89.108.66.215]) by mx1.freebsd.org (Postfix) with ESMTP id 66B9413C46B for ; Mon, 4 Feb 2008 14:52:13 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from [213.148.20.85] (helo=hive.panopticon) by cp65.agava.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.63 (FreeBSD)) (envelope-from ) id 1JM2ii-000Fwa-6j; Mon, 04 Feb 2008 17:54:52 +0300 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id A29287312; Mon, 4 Feb 2008 17:52:54 +0300 (MSK) Received: by hades.panopticon (Postfix, from userid 1000) id 59E2017031; Mon, 4 Feb 2008 17:52:13 +0300 (MSK) Date: Mon, 4 Feb 2008 17:52:13 +0300 From: Dmitry Marakasov To: Beech Rintoul Message-ID: <20080204145213.GA45739@hades.panopticon> Mail-Followup-To: Beech Rintoul , freebsd-ports@freebsd.org References: <20080203182457.GA74879@hades.panopticon> <200802030945.28722.beech@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <200802030945.28722.beech@freebsd.org> User-Agent: Mutt/1.5.17 (2007-11-01) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cp65.agava.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [26 6] X-AntiAbuse: Sender Address Domain - amdmi3.ru X-Source: X-Source-Args: X-Source-Dir: Cc: freebsd-ports@freebsd.org Subject: Re: linux app port, "version `GLIBC_2.4' not found" 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, 04 Feb 2008 14:52:13 -0000 * Beech Rintoul (beech@freebsd.org) wrote: > > I'm trying to port a linux app, and it says: > > > > % ./app > > ./app: /lib/obsolete/linuxthreads/libc.so.6: version `GLIBC_2.4' > > not found (required by ./app) > > > > Seems like linux_base-fc4 is too old for this application, as it > > requires glibc 2.4. Is there a way to indicate in a port that newer > > linux_base is needed? > > From bsd.port.mk: > > # USE_LINUX - Set to yes to say the port needs the default linux base > port. > # Set to value , if the port needs emulators/linux_base-. > # If set to "7", a dependency is registered to > emulators/linux_base. > # Implies appropriate settings for STRIP and STRIP_CMD. Yes, but this info seems a bit outdated for me. First, there's no linux_base-7. Besides fc4 there's fc6 and f7, what should I use? Also, what'll happen if user has linux_base-fc4 installed already? Seems to me that it would be better to check for linux glibc >=2.4 and ask user to reinstall newer linux_base if it's not found. The problem is there are no examples for this, everyone just use LINUX_BASE=yes. -- Dmitry A. Marakasov | jabber: amdmi3@jabber.ru amdmi3@amdmi3.ru | http://www.amdmi3.ru