From owner-freebsd-database Thu Apr 12 0:50:20 2001 Delivered-To: freebsd-database@freebsd.org Received: from maila.telia.com (maila.telia.com [194.22.194.231]) by hub.freebsd.org (Postfix) with ESMTP id 25A7237B506 for ; Thu, 12 Apr 2001 00:50:09 -0700 (PDT) (envelope-from martin@svenskabutiker.se) Received: from svenskabutiker.se (t4o79p77.telia.com [62.20.201.197]) by maila.telia.com (8.9.3/8.9.3) with ESMTP id JAA13430; Thu, 12 Apr 2001 09:50:05 +0200 (CEST) Message-ID: <3AD55E4C.F91693E8@svenskabutiker.se> Date: Thu, 12 Apr 2001 09:50:36 +0200 From: Martin Nilsson X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: Phillip Rhodes Cc: freebsd-database@FreeBSD.ORG Subject: Re: help - can't build mysql References: <5.0.2.1.0.20010412033249.00a8b490@dns1.rhoderunner.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-database@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Phillip Rhodes wrote: > > I am on 3.4-RELEASE FreeBSD 3.4-RELEASE > > If I try to build mysql , I get the following: > hostname.o: In function `ip_to_hostname(in_addr *, unsigned int *)': > hostname.o(.text+0x52b): undefined reference to `my_gethostbyname_r' > *** Error code 1 > > Stop. > *** Error code 1 > > Thanks. Been trying a long time;( > Mee too... The port for mysql-3.23 doesn't work on 3.x anymore you have to build manually or upgrade to FreeBSD 4.3 I recomend upgrading FreeBSD instead of wasting time with this. There are a lot of security holes in 3.4 that have been fixed in 4.3 New ports is no longer supported on the 3.x branch so upgrading your applications will need more and more work. I'm about to upgrade my last 3.5 boxen to 4.3 anyday now. /Martin --- Martin Nilsson, Civilingenjör M.Sc. CS&E Svenska Butiker AB, S:t Larsväg 44, 222 70 Lund Sweden martin@svenskabutiker.se Tel: 046-304130 www.svenskabutiker.se To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-database" in the body of the message