From owner-freebsd-questions Sun Jan 12 14:19:22 2003 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 A3A2C37B401 for ; Sun, 12 Jan 2003 14:19:20 -0800 (PST) Received: from creme-brulee.marcuscom.com (rdu57-17-158.nc.rr.com [66.57.17.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id D91C043F43 for ; Sun, 12 Jan 2003 14:19:19 -0800 (PST) (envelope-from marcus@marcuscom.com) Received: from [192.168.1.4] (shumai.marcuscom.com [192.168.1.4]) by creme-brulee.marcuscom.com (8.12.6/8.12.6) with ESMTP id h0CMJ6Dx091590 for ; Sun, 12 Jan 2003 17:19:06 -0500 (EST) (envelope-from marcus@marcuscom.com) Subject: Re: linked twice against libintl.so From: Joe Marcus Clarke To: FreeBSD User Questions List In-Reply-To: <20030112221129.GA11959@gicco.homeip.net> References: <20030112221129.GA11959@gicco.homeip.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-xNt8GjOW1E0UDWMlG8SJ" Organization: MarcusCom, Inc. Message-Id: <1042409956.2162.52.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.1 Date: 12 Jan 2003 17:19:16 -0500 X-Spam-Status: No, hits=-2.8 required=5.0 tests=AWL,IN_REP_TO,NOSPAM_INC,PGP_SIGNATURE_2,QUOTED_EMAIL_TEXT, REFERENCES,SPAM_PHRASE_00_01,TO_BE_REMOVED_REPLY version=2.43 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=-xNt8GjOW1E0UDWMlG8SJ Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sun, 2003-01-12 at 17:11, Hanspeter Roth wrote: > Hello, >=20 > I'm trying to build the ElectricEyes port. The executable is linked > against two versions of libintl.so: >=20 > libintl.so.4 =3D> /usr/local/lib/libintl.so.4 (0x284c2000) > libintl.so.2 =3D> not found (0x0) >=20 > Gettext is 0.11.5_1. > Is there a solution except of creating a link? The proper solution is to rebuild all ports that depend on the old library, so that it eventually gets purged from all binaries on your system. >=20 > I found also two versions of libintl.so in /usr/local/lib/compat/pkg: >=20 > lrwxr-xr-x 1 root wheel 10 Dec 16 00:16 libintl.so.1 -> libintl.s= o > lrwxr-xr-x 1 root wheel 10 Jan 8 01:03 libintl.so.2 -> libintl.s= o >=20 > Do they matter? How have they come here? This really isn't a good idea. While linking old shared object versions to the new shared object might work just fine, subtle API changes can cause otherwise good applications to break. I'd remove these links, and the libintl.so, then hunt down all binaries that are still linked against libintl.so.[12], and hit them with portupgrade -f. Joe >=20 >=20 > -Hanspeter >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-xNt8GjOW1E0UDWMlG8SJ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQA+Ienkb2iPiv4Uz4cRAuaOAJ9PLDzBsyqLKCKRJ4ede+V40fCrBQCgiAGp mV2Pl2HJd20f5HS8v1D+i+4= =IYvx -----END PGP SIGNATURE----- --=-xNt8GjOW1E0UDWMlG8SJ-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message