Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 May 2001 15:16:51 -0500
From:      Richard J Kuhns <rjk@grauel.com>
To:        freebsd-stable@FreeBSD.ORG
Cc:        pir@pir.net
Subject:   Re: applix 5.0 failing
Message-ID:  <15097.42419.737687.37834@moran.grauel.com>
In-Reply-To: <20010509125705.B14261@pir.net>
References:  <20010509125705.B14261@pir.net>

next in thread | previous in thread | raw e-mail | index | archive | help

Peter Radcliffe writes:
 > 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 ?
 > 
 > P.
 > 

Yeah, I bumped into this too.  Versions of gtk > 1.2.8 (I think) build in a
reference to getresuid(), but libc.so.3 (which applix requires) doesn't
have it.

I got around it by mangling gtk.  I did a "make extract", edited the
configure script so it just said getresuid() wasn't found, and continued
with "make install".

You may also be able to do something like:

$ cc -shared -fPIC -DPIC -o /usr/lib/getresuid.so getresuid.c
$ export LD_PRELOAD=/usr/lib/getresuid.so
$ applix

but I haven't tried it personally.

Good luck.
-- 
Richard Kuhns			rjk@grauel.com
PO Box 6249			Tel: (765)477-6000 \
100 Sawmill Road				    x319
Lafayette, IN  47903		     (800)489-4891 /

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15097.42419.737687.37834>