Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Dec 2004 14:30:21 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        David Coder <dacoder@dcoder.net>
Cc:        Dan Nelson <dnelson@allantgroup.com>
Subject:   Re: libintl.so.6 & stpcpy
Message-ID:  <20041228223021.GA94796@xor.obsecurity.org>
In-Reply-To: <20041228171342.L70719@ns0.dcoder.com>
References:  <20041228124201.D59339@ns0.dcoder.com> <20041228183506.GD44954@dan.emsphone.com> <20041228171342.L70719@ns0.dcoder.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <dnelson@allantgroup.com>
> :To: David Coder <dacoder@dcoder.net>
> :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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041228223021.GA94796>