From owner-freebsd-current@FreeBSD.ORG Sun Oct 19 14:05:37 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C8AF216A4B3 for ; Sun, 19 Oct 2003 14:05:37 -0700 (PDT) Received: from smtp.mho.com (smtp.mho.net [64.58.4.6]) by mx1.FreeBSD.org (Postfix) with SMTP id 02B3143FA3 for ; Sun, 19 Oct 2003 14:05:36 -0700 (PDT) (envelope-from scottl@freebsd.org) Received: (qmail 15907 invoked by uid 1002); 19 Oct 2003 21:05:35 -0000 Received: from unknown (HELO freebsd.org) (64.58.1.252) by smtp.mho.net with SMTP; 19 Oct 2003 21:05:35 -0000 Message-ID: <3F92FC99.8010802@freebsd.org> Date: Sun, 19 Oct 2003 15:05:29 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3) Gecko/20030425 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Kennaway References: <3F92E129.10307@veidit.net> <20031019204629.GC49466@rot13.obsecurity.org> In-Reply-To: <20031019204629.GC49466@rot13.obsecurity.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: re@freebsd.org cc: current@freebsd.org Subject: Re: __fpclassifyd problem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Oct 2003 21:05:37 -0000 Kris Kennaway wrote: > On Sun, Oct 19, 2003 at 09:08:25PM +0200, John Angelmo wrote: > >>Hello >> >>I'm trying to install java-checkstyle on my 5.1 system, the system is >>upto date (p10) but I get this build error: >> >>===[root] /usr/ports/java/java-checkstyle # make >>===> Extracting for java-checkstyle-3.1 >> >>>>Checksum OK for checkstyle-src-3.1.tar.gz. >> >>===> Patching for java-checkstyle-3.1 >>===> java-checkstyle-3.1 depends on file: /usr/local/bin/ant - found >>===> java-checkstyle-3.1 depends on file: >>/usr/local/diablo-jdk1.3.1/bin/java - found >>===> Configuring for java-checkstyle-3.1 >>===> Building for java-checkstyle-3.1 >>/usr/libexec/ld-elf.so.1: /usr/lib/libm.so.2: Undefined symbol >>"__fpclassifyd" >>*** Error code 1 >> >>Stop in /usr/ports/java/java-checkstyle. >> >> >>What I understand is that the problem is that I can have some stale libs >>in /usr/lib >>how can I solve this? > > > This symbol is defined in libc.so.5. One way you can see this problem > is if you are running a 4.x binary that links to libm.so.2 on a 5.x > system, because libm has the same version number in 5.x but is not > binary compatible. So the 4.x binary links to libc.so.4 and > libm.so.2, and the latter is actually a 5.x library that expects to > have __fpclassifyd resolved by linking with libc.so.5. Is it the case > on your system that you have old 4.x binaries installed? > > Kris We need to resolve this before 5.2 in some fashion. It looks like the easiest thing to do is bump libm. Is this advisable? Scott