Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jun 2000 23:17:31 -0700
From:      "Crist J. Clark" <cristjc@earthlink.net>
To:        Steve Olszewski <skunklove@hotmail.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: XFree86-aout libs compile problem
Message-ID:  <20000627231731.J424@dialin-client.earthlink.net>
In-Reply-To: <39598B13.C4E4085E@hotmail.com>; from skunklove@hotmail.com on Tue, Jun 27, 2000 at 10:20:19PM -0700
References:  <39598B13.C4E4085E@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jun 27, 2000 at 10:20:19PM -0700, Steve Olszewski wrote:
> Hi there--
> 
> When I try to compile the FreeBSD 4 XFree86-aoutlibs (i386), I get this
> error message:
> 
> >cd /usr/ports/x11/XFree86-aoutlibs/work/lib;  for l in $(ls lib*); do
> >/usr/bin/env OBJFORMAT=aout  install -c -s -o root -g wheel -m 555 $l
> >/usr/X11R6/lib/aout;  done
> >/usr/bin/env OBJFORMAT=aout /sbin/ldconfig -m /usr/X11R6/lib/aout
> >ldconfig: Ì: trailing characters ignored
> >ldconfig: Ì: No such file or directory
> >ldconfig: fzöf
> >ldconfig: fzöf
> >ldconfig: f<}äf?~f<}Øf?çûÿf?~fÆ?uÄfE¨ÿEÀ
> >ldconfig: f<}äf?~f<}Øf?çûÿf?~fÆ?uÄfE¨ÿEÀ
> >ldconfig: 9Ñt/?
> >ldconfig: 9Ñt/?
> >ldconfig: èÚÿÿÿ: trailing characters ignored
> >ldconfig: èÚÿÿÿ: No such file or directory
> >*** Error code 255
> 
> As a workaround, I manually moved all the libs in the package to a
> directory I created (/usr/X11R6/lib/aoutlib) and ran this command:
> 
> ldconfig -aout -m /usr/X11R6/lib/aoutlib
> 
> This allows me to use Netscape, etc., but I have to re-run the command
> each time I boot.  Not a huge problem, but still, it would be nice to
> have it correctly installed so that I don't have to worry about it.  I
> am not a linked-library guru by any means.

From /etc/defaults/rc.conf,

  ldconfig_paths_aout="/usr/lib/compat/aout /usr/X11R6/lib/aout /usr/local/lib/aout"

Feel free to add your own variation to override this in /etc/rc.conf.
Or just,

  # cd /usr/X11R6/lib
  # rm -rf aout
  # mv aoutlib aout

And you should be fine.

[snip quoted PR]

I doubt it is the same problem. The PR was for a run-time issue. Your
problem looks pretty strange.
-- 
Crist J. Clark                           cjclark@alum.mit.edu


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




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