From owner-freebsd-current@FreeBSD.ORG Sun Oct 19 13:46:32 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 2B93716A4B3; Sun, 19 Oct 2003 13:46:32 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-63-207-60-234.dsl.lsan03.pacbell.net [63.207.60.234]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DD3B43F93; Sun, 19 Oct 2003 13:46:31 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id D8F1666D74; Sun, 19 Oct 2003 13:46:29 -0700 (PDT) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id A33BDCD6; Sun, 19 Oct 2003 13:46:29 -0700 (PDT) Date: Sun, 19 Oct 2003 13:46:29 -0700 From: Kris Kennaway To: John Angelmo Message-ID: <20031019204629.GC49466@rot13.obsecurity.org> References: <3F92E129.10307@veidit.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Bu8it7iiRSEf40bY" Content-Disposition: inline In-Reply-To: <3F92E129.10307@veidit.net> User-Agent: Mutt/1.4.1i 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 20:46:32 -0000 --Bu8it7iiRSEf40bY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Oct 19, 2003 at 09:08:25PM +0200, John Angelmo wrote: > Hello >=20 > I'm trying to install java-checkstyle on my 5.1 system, the system is=20 > upto date (p10) but I get this build error: >=20 > =3D=3D=3D[root] /usr/ports/java/java-checkstyle # make > =3D=3D=3D> Extracting for java-checkstyle-3.1 > >> Checksum OK for checkstyle-src-3.1.tar.gz. > =3D=3D=3D> Patching for java-checkstyle-3.1 > =3D=3D=3D> java-checkstyle-3.1 depends on file: /usr/local/bin/ant - fo= und > =3D=3D=3D> java-checkstyle-3.1 depends on file:=20 > /usr/local/diablo-jdk1.3.1/bin/java - found > =3D=3D=3D> Configuring for java-checkstyle-3.1 > =3D=3D=3D> Building for java-checkstyle-3.1 > /usr/libexec/ld-elf.so.1: /usr/lib/libm.so.2: Undefined symbol=20 > "__fpclassifyd" > *** Error code 1 >=20 > Stop in /usr/ports/java/java-checkstyle. >=20 >=20 > What I understand is that the problem is that I can have some stale libs= =20 > 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 --Bu8it7iiRSEf40bY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/kvglWry0BWjoQKURArTbAJ9nmKCft5JYPmOfCk1bSpJsX2SoKACfbQdG dMuNRVSyzE1UUtVaf/Dw54Y= =iWw5 -----END PGP SIGNATURE----- --Bu8it7iiRSEf40bY--