Date: Mon, 4 Feb 2008 09:16:43 -0900 From: Beech Rintoul <beech@freebsd.org> To: Dmitry Marakasov <amdmi3@amdmi3.ru> Cc: freebsd-ports@freebsd.org Subject: Re: linux app port, "version `GLIBC_2.4' not found" Message-ID: <200802040916.53261.beech@freebsd.org> In-Reply-To: <20080204145213.GA45739@hades.panopticon> References: <20080203182457.GA74879@hades.panopticon> <200802030945.28722.beech@freebsd.org> <20080204145213.GA45739@hades.panopticon>
next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 04 February 2008, Dmitry Marakasov said: > * 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 <X>, if the port needs > > emulators/linux_base-<X>. # 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? fc6, f7 > 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. You can do that as well, however I suggest reading through the linux options in bsd.port.mk. -- --------------------------------------------------------------------------------------- Beech Rintoul - FreeBSD Developer - beech@FreeBSD.org /"\ ASCII Ribbon Campaign | FreeBSD Since 4.x \ / - NO HTML/RTF in e-mail | http://www.freebsd.org X - NO Word docs in e-mail | Latest Release: / \ - http://www.FreeBSD.org/releases/6.3R/announce.html ---------------------------------------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802040916.53261.beech>