Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Dec 2000 08:14:47 -0600 (CST)
From:      Mike Meyer <mwm@mired.org>
To:        current@freebsd.org, 
Subject:   Applix problems (Was: /usr/local abuse)
Message-ID:  <14900.57687.565806.38745@guru.mired.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
David O'Brien <obrien@freebsd.org> 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 <Tony.Maher@eBioinformatics.com> 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,
	<mike



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




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