From owner-freebsd-ports@FreeBSD.ORG Thu Aug 28 09:27:26 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C55B16A4C0 for ; Thu, 28 Aug 2003 09:27:25 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-64-169-107-97.dsl.lsan03.pacbell.net [64.169.107.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id E222943FE9 for ; Thu, 28 Aug 2003 09:27:22 -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 E55FF66B04; Thu, 28 Aug 2003 09:27:07 -0700 (PDT) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id EF0AC649; Thu, 28 Aug 2003 09:27:07 -0700 (PDT) Date: Thu, 28 Aug 2003 09:27:07 -0700 From: Kris Kennaway To: Volker Stolz Message-ID: <20030828162707.GA25670@rot13.obsecurity.org> References: <200308281702.h7SH2x7E021237@planet.krakow.homeunix.com> <20030828155054.GA39979@i2.informatik.rwth-aachen.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Qxx1br4bt0+wmkIi" Content-Disposition: inline In-Reply-To: <20030828155054.GA39979@i2.informatik.rwth-aachen.de> User-Agent: Mutt/1.4.1i cc: sethk@meowfishies.com cc: ports@freebsd.org cc: Kuba Lida Subject: Re: FreeBSD Port: ymessenger-0.99.19.1,20020902; broken on 5.1-RELEASE X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Aug 2003 16:27:26 -0000 --Qxx1br4bt0+wmkIi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 28, 2003 at 05:50:54PM +0200, Volker Stolz wrote: > On Thu, Aug 28, 2003 at 07:02:59PM +0200, Kuba Lida wrote: > > The messenger does compile OK, but when trying to launch it, it looks l= ike: > > kuba@agma:~$ /usr/libexec/ld-elf.so.1: /usr/local/lib/libglib12.so.3: U= ndefined symbol "getpwuid_r" >=20 > Try: LD_PRELOAD=3D/usr/lib/libc_r.so:/usr/lib/libc.so ymessenger > (btw it doesn't compile, the pre-built binary is just extracted) We need to commit something like this, because ymessenger is indeed broken on 5.x systems (libglib built on 5.x uses the getpwuid_r symbol which is not present in the libc.so.4 compat library used by ymessenger). The problem is that it is a dynamic binary and links against third-party libraries that are not present in the compat4x package, and there is no guarantee that this will ever work on non-4.x systems. Another alternative would be to get the ymessenger people to link it statically against libglib and any other non-FreeBSD libraries. Kris --Qxx1br4bt0+wmkIi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/Ti1bWry0BWjoQKURAs7pAKDRwV9Y4+beQ3wmOqnZBM/vLyjx1wCg1jrm T1VwTWWxac6bEQTSzFfHPlA= =kXqp -----END PGP SIGNATURE----- --Qxx1br4bt0+wmkIi--