David O'Brien <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to