From owner-freebsd-stable Wed May 9 14:23:39 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 54F9A37B422 for ; Wed, 9 May 2001 14:23:31 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 18834 invoked by uid 100); 9 May 2001 21:23:30 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15097.46418.265527.654361@guru.mired.org> Date: Wed, 9 May 2001 16:23:30 -0500 To: pir@pir.net Cc: freebsd-stable@freebsd.org Subject: Re: applix 5.0 failing In-Reply-To: <20010509125705.B14261@pir.net> References: <20010509125705.B14261@pir.net> 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 Peter Radcliffe types: > Since my last cvsup/build world to 4.3-STABLE from one of the RCs > applix 5.0 has been failing to run with; > > pir@mrow> applix > /usr/libexec/ld-elf.so.1: /usr/X11R6/lib/libgtk12.so.2: Undefined symbol > "getresuid" > axnet error, axmain already started. > > The machines which are still at 4.2-R or 4.2-S (as of Feb 3rd) work > fine. > > I've tried recompiling gtk and glib from ports, in case some symbols > have changed but no joy. I can't recompile or otherwise change applix, > since it's a binary product. > > Any idea what has changed here ? 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. 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