Date: Thu, 28 Aug 2003 09:27:07 -0700 From: Kris Kennaway <kris@obsecurity.org> To: Volker Stolz <stolz@i2.informatik.rwth-aachen.de> Cc: Kuba Lida <kuba@krakow.homeunix.com> Subject: Re: FreeBSD Port: ymessenger-0.99.19.1,20020902; broken on 5.1-RELEASE Message-ID: <20030828162707.GA25670@rot13.obsecurity.org> In-Reply-To: <20030828155054.GA39979@i2.informatik.rwth-aachen.de> References: <200308281702.h7SH2x7E021237@planet.krakow.homeunix.com> <20030828155054.GA39979@i2.informatik.rwth-aachen.de>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030828162707.GA25670>