From owner-freebsd-questions@FreeBSD.ORG Tue Dec 28 22:30:22 2004 Return-Path: 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 A892816A4CE for ; Tue, 28 Dec 2004 22:30:22 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.199.47.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 71BCC43D39 for ; Tue, 28 Dec 2004 22:30:22 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 6A700512C2; Tue, 28 Dec 2004 14:30:21 -0800 (PST) Date: Tue, 28 Dec 2004 14:30:21 -0800 From: Kris Kennaway To: David Coder Message-ID: <20041228223021.GA94796@xor.obsecurity.org> References: <20041228124201.D59339@ns0.dcoder.com> <20041228183506.GD44954@dan.emsphone.com> <20041228171342.L70719@ns0.dcoder.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zYM0uCDKw75PZbzx" Content-Disposition: inline In-Reply-To: <20041228171342.L70719@ns0.dcoder.com> User-Agent: Mutt/1.4.2.1i cc: questions@freebsd.org cc: Dan Nelson Subject: Re: libintl.so.6 & stpcpy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Dec 2004 22:30:22 -0000 --zYM0uCDKw75PZbzx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 28, 2004 at 05:14:31PM -0500, David Coder wrote: > On Tue, 28 Dec 2004, Dan Nelson wrote: >=20 > :Date: Tue, 28 Dec 2004 12:35:06 -0600 > :From: Dan Nelson > :To: David Coder > :Cc: questions@freebsd.org > :Subject: Re: libintl.so.6 & stpcpy > : > :In the last episode (Dec 28), David Coder said: > :> lots of port installations are failing for me on one system running > :> 5.3 #0 because stpcpy in /usr/local/lib/libintl.so.6 is undefined.=20 > :> where should it be finding the definition? > : > :stpcpy is in libc in the base system, not libintl. What error message > :are you getting? > : > kerouac1# cd /usr/ports/x11/startup-notification/ > kerouac1# make install > =3D=3D=3D> Building for startup-notification-0.8 > gmake all-recursive > /usr/libexec/ld-elf.so.1: /usr/local/lib/libintl.so.6: Undefined symbol "= stpcpy" > /usr/libexec/ld-elf.so.1: /usr/local/lib/libintl.so.6: Undefined symbol "= stpcpy" > *** Error code 1 I'm guessing the application was originally installed on 4.x before you updated, then you rebuilt gettext after you updated, so libintl picked up the fact that stpcpy exists in libc.so.5, but your application is still linked to libc.so.4. We don't provide this kind of mixed 4.x/5.x binary compatibility, so you need to recompile or reinstall everything that links to the libraries you updated (or just recompile everything, which might be easier since otherwise this problem will recur with the next library you rebuild). e.g. portupgrade -fa or portupgrade -faPP Kris --zYM0uCDKw75PZbzx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFB0d58Wry0BWjoQKURAtt2AKCGFMRysyWKvf05OHqw6QV0mrh4OACcDRPt xBkSUo7PF/Sw95wxZRL59xk= =uS6W -----END PGP SIGNATURE----- --zYM0uCDKw75PZbzx--