From owner-freebsd-stable Wed May 9 16:34:56 2001 Delivered-To: freebsd-stable@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id 6E64C37B422 for ; Wed, 9 May 2001 16:34:53 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 21747 invoked by uid 100); 9 May 2001 23:34:52 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15097.54300.488616.341808@guru.mired.org> Date: Wed, 9 May 2001 18:34:52 -0500 To: Jamil Taylor Cc: pir@pir.net, freebsd-stable@FreeBSD.ORG Subject: Re: applix 5.0 failing In-Reply-To: <3AF9D08A.FB2BD58@pobox.com> References: <20010509125705.B14261@pir.net> <15097.46418.265527.654361@guru.mired.org> <3AF9D08A.FB2BD58@pobox.com> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Jamil Taylor types: > Hmm. I built 4.3 STABLE right after a cvsup about four days ago. Applix > works fine for me without me having to make any changes. I presume if I > was to cvsup now, Applix would break? The question isn't when you built your system, but what state your system was in when you built the gtk port. If you are running a recent enough version of FreeBSD - sometime when it called itself 4.2-STABLE - then you have getresuid, and the gtk port will detect and try and use it. This fails exactly as Peter reported. If your system doesn't have getresuid when you build the gtk library, you'll get the gtk-provided version, and everything works. It will continue doing so even if the system is upgraded, so long as gtk isn't upgraded. Mike Meyer wrote: > > The problem is that getresuid is now available in a library that > > Applixware doesn't link dynamically. The gtk port finds it at config > > time, and tries to use it. When invoked from Applixware, it can't find > > it because the library is missing, and you get the result you see > > here. > > > > The gtk port maintainer claims that Applixware is at fault for not > > having statically linked gtk. I'm not sufficiently conversant with > > FreeBSD's shared library mechanisms, but I figure that the gtk library > > should dynamically link in all the libraries it needs. Since that > > isn't happening, you have to work around the problem. > > > > If you clean the gtk port, then do "make config", you can go back and > > turn off HAVE_GETRESUID by hand in the appropriate include file. I > > forget the details, but I've been through it a couple of times. The > > resulting gtk library will then use a workaround so that you don't > > lose any functionality. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > -- Mike Meyer http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message