From owner-freebsd-questions Tue Jun 27 23:19: 8 2000 Delivered-To: freebsd-questions@freebsd.org Received: from merlin.prod.itd.earthlink.net (merlin.prod.itd.earthlink.net [207.217.120.156]) by hub.freebsd.org (Postfix) with ESMTP id 71B2A37BA85 for ; Tue, 27 Jun 2000 23:19:02 -0700 (PDT) (envelope-from cjc@earthlink.net) Received: from dialin-client.earthlink.net (pool0181.cvx34-bradley.dialup.earthlink.net [216.244.6.181]) by merlin.prod.itd.earthlink.net (8.9.3-EL_1_3/8.9.3) with ESMTP id XAA14673; Tue, 27 Jun 2000 23:19:00 -0700 (PDT) Received: (from cjc@localhost) by dialin-client.earthlink.net (8.9.3/8.9.3) id XAA01482; Tue, 27 Jun 2000 23:17:33 -0700 (PDT) Date: Tue, 27 Jun 2000 23:17:31 -0700 From: "Crist J. Clark" To: Steve Olszewski Cc: freebsd-questions@FreeBSD.ORG Subject: Re: XFree86-aout libs compile problem Message-ID: <20000627231731.J424@dialin-client.earthlink.net> Reply-To: cjclark@alum.mit.edu References: <39598B13.C4E4085E@hotmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 1.0.1i In-Reply-To: <39598B13.C4E4085E@hotmail.com>; from skunklove@hotmail.com on Tue, Jun 27, 2000 at 10:20:19PM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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