From owner-freebsd-questions@FreeBSD.ORG Thu Mar 9 13:28:24 2006 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 DDD7C16A420 for ; Thu, 9 Mar 2006 13:28:24 +0000 (GMT) (envelope-from erikt@owl.midgard.homeip.net) Received: from pne-smtpout2-sn1.fre.skanova.net (pne-smtpout2-sn1.fre.skanova.net [81.228.11.159]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC93043D49 for ; Thu, 9 Mar 2006 13:28:23 +0000 (GMT) (envelope-from erikt@owl.midgard.homeip.net) Received: from falcon.midgard.homeip.net (83.253.29.241) by pne-smtpout2-sn1.fre.skanova.net (7.2.070) id 43F9B8E90041DFAE for freebsd-questions@freebsd.org; Thu, 9 Mar 2006 14:28:22 +0100 Received: (qmail 19786 invoked from network); 9 Mar 2006 14:28:22 +0100 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with SMTP; 9 Mar 2006 14:28:22 +0100 Received: (qmail 54914 invoked by uid 1001); 9 Mar 2006 14:28:21 +0100 Date: Thu, 9 Mar 2006 14:28:21 +0100 From: Erik Trulsson To: Jonathan Kop Message-ID: <20060309132821.GA54871@owl.midgard.homeip.net> Mail-Followup-To: Jonathan Kop , freebsd-questions@freebsd.org References: <20060309142834.X83317@wataru.so.cpt1.za.uu.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060309142834.X83317@wataru.so.cpt1.za.uu.net> User-Agent: Mutt/1.5.11 Cc: freebsd-questions@freebsd.org Subject: Re: COMPAT?? options in FreeBSD 6.x's /etc/make.conf. 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: Thu, 09 Mar 2006 13:28:25 -0000 On Thu, Mar 09, 2006 at 02:34:40PM +0200, Jonathan Kop wrote: > I don't know if I'm being a dope about this, but I can't seem to figure > out how to get libc.so.3 compiled and installed in FreeBSD 6.x. > > Previously (at least in FreeBSD 5.x), the backwards-compatible libcs could > be found in /usr/src/lib/compat, and setting the appropriate option in > /etc/make.conf (e.g. COMPAT3X=yes, etc.) would ensure that the desired > library would be built and installed. > > In FreeBSD 6.x, however, those make.conf directives appear to be > unavailable and the compat libraries do not exist in the source tree. > (Unless I'm missing something obvious.) Correct. The compat libraries were removed from the source tree some time ago. > > (There is also a port for the compat libraries, but that looks to be > derelict and scheduled for removal from the ports tree.) The misc/compat[345]x ports, are what you are supposed to use. The libraries included in the misc/compat3x port does appear to have some security problems that nobody has fixed, and the port is therefore marked FORBIDDEN. (I don't think there are many (if any) FreeBSD developers who still care about 3.x, so it seems unlikely that those security problems will be fixed any time soon (if ever).) > > So, the question: how do I get libc.so.3 on my FreeBSD 6.x system? misc/compat3x If you are not worried about the scurity holes with that you should be able to just comment out the FORBIDDEN line in the port's Makefile and install the port. -- Erik Trulsson ertr1013@student.uu.se