From owner-freebsd-current Mon Dec 11 6:14:55 2000 From owner-freebsd-current@FreeBSD.ORG Mon Dec 11 06:14:52 2000 Return-Path: Delivered-To: freebsd-current@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 22AFC37B400 for ; Mon, 11 Dec 2000 06:14:48 -0800 (PST) Received: (qmail 27337 invoked by uid 100); 11 Dec 2000 14:14:47 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14900.57687.565806.38745@guru.mired.org> Date: Mon, 11 Dec 2000 08:14:47 -0600 (CST) To: current@freebsd.org, Subject: Applix problems (Was: /usr/local abuse) In-Reply-To: <20001211003425.C89853@dragon.nuxi.com> References: <200012110844.TAA29959@shad.au.int.en-bio.com> <14899.47196.795281.662619@zircon.seattle.wa.us> <14899.49294.958909.82912@guru.mired.org> <14899.62738.768609.598990@nomad.yogotech.com> <14899.62189.243395.903919@nomad.yogotech.com> <14900.2598.958785.326648@guru.mired.org> <14900.19591.200496.869754@nomad.yogotech.com> <14900.21804.426787.246572@guru.mired.org> <14900.23606.685940.408212@nomad.yogotech.com> <20001211163133.A19495@gurney.reilly.home> <14900.26957.915555.841958@guru.mired.org> <20001211003425.C89853@dragon.nuxi.com> X-Mailer: VM 6.75 under 21.1 (patch 10) "Capitol Reef" 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-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG David O'Brien types: > On Sun, Dec 10, 2000 at 11:42:37PM -0600, Mike Meyer wrote: > > On the other hand, Applixware Office ships a precompiled package for > > /usr/local, and doesn't like being installed anywhere else. Which > > means I've got a couple of hundred megabytes being backup up for no > > good reason :-(. > Mine lives in /usr/opt just fine. What signs do you have of it not > liking being out of /usr/local ? Tony Maher types: > > On the other hand, Applixware Office ships a precompiled package for > > /usr/local, and doesn't like being installed anywhere else. Which > > means I've got a couple of hundred megabytes being backup up for no > > good reason :-(. > Really?! > I have it installed in /opt/applix and I dont think there are any symlinks > anywhere in /usr/local for it. It works fine. My bad. I discovered last night that the problems I though were associated with it not being installed in /usr/local are occuring even though I *did* install it in /usr/local. Of course, last night was the first time I've rebooted with it installed in /usr/local, and that's when the problem shows up. The problem is that the shared libraries aren't getting found when I run the applix binary after a reboot. Here's the relevant part of /etc/rc.conf: ldconfig_paths="/usr/lib/compat /usr/X11R6/lib /usr/opt/lib /usr/opt/pgsql/lib /usr/opt/pilot/lib /usr/local/lib /usr/local/applix/axdata/axshlib" ldconfig_paths_aout="" # No aout in my userlands After the first reboot, running applix just causes off a lot of disk activity and creates processes and a socket in /tmp. Killing them, removing the file in /tmp, and then running "ldconfig $ldconfig_paths" (though I do it with cut-n-paste) solves the problem, and I can run applix just fine. Failing to do the ldconfig (at least, with applix somewhere other than /usr/local) doesn't solve the problem. As far as I can tell, the only difference is that /etc/rc runs the ldconfig as "ldconfig -elf". All the files in /usr/local/applix/axdata/axshlib are ELF shared objects. I haven't investigated further. If someone got an explanation, I'm all ears. Thanx,