From owner-freebsd-ports@FreeBSD.ORG Thu Aug 28 15:04:05 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 1C46316A4BF for ; Thu, 28 Aug 2003 15:04:05 -0700 (PDT) Received: from magnesium.net (toxic.magnesium.net [207.154.84.15]) by mx1.FreeBSD.org (Postfix) with SMTP id 701C843FEC for ; Thu, 28 Aug 2003 15:04:02 -0700 (PDT) (envelope-from sethk@magnesium.net) Received: (qmail 57609 invoked by uid 1165); 28 Aug 2003 22:04:02 -0000 Date: 28 Aug 2003 15:04:02 -0700 Date: Thu, 28 Aug 2003 15:04:02 -0700 From: Seth Kingsley To: Kris Kennaway Message-ID: <20030828220402.GB42216@mail.meowfishies.com> References: <200308281702.h7SH2x7E021237@planet.krakow.homeunix.com> <20030828155054.GA39979@i2.informatik.rwth-aachen.de> <20030828162707.GA25670@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="i0/AhcQY5QxfSsSZ" Content-Disposition: inline In-Reply-To: <20030828162707.GA25670@rot13.obsecurity.org> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 5.1-RELEASE i386 X-GPG-Key-ID: 1024D/5C413B08 X-GPG-Key-Fingerprint: F772 5D24 02B4 D233 90F5 080F 0F50 3298 5C41 3B08 X-URL: http://www.meowfishies.com/ cc: ports@freebsd.org cc: Volker Stolz 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 22:04:05 -0000 --i0/AhcQY5QxfSsSZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 28, 2003 at 09:27:07AM -0700, Kris Kennaway wrote: > 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= like: > > > kuba@agma:~$ /usr/libexec/ld-elf.so.1: /usr/local/lib/libglib12.so.3:= Undefined 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) >=20 > 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 I also have two reports of people missing stpcpy(). Would it be possible to link ymessenger.bin against libc.so.5 and then add a small pre-load library to wrap any missing libc.so.4 calls directly? This way, 3rd party libraries would still load normally. Unfortunately, this week is very busy at work, and I don't have a pure 5.1 machine to test with. --=20 || Seth Kingsley || sethk@meowfishies.com || || http://www.meowfishies.com/ | Meow ^_^ || --i0/AhcQY5QxfSsSZ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/TnxSD1AymFxBOwgRAuKkAJwMEWXssr/sslYifeNCgL50LHaKDQCbB9ns ejRHUBEGmMZ+MH+qshtuEW4= =hHST -----END PGP SIGNATURE----- --i0/AhcQY5QxfSsSZ--