From owner-freebsd-current Sun Jan 17 08:38:42 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA02748 for freebsd-current-outgoing; Sun, 17 Jan 1999 08:38:42 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from janus.syracuse.net (janus.syracuse.net [205.232.47.15]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA02742 for ; Sun, 17 Jan 1999 08:38:39 -0800 (PST) (envelope-from green@unixhelp.org) Received: from localhost (green@localhost) by janus.syracuse.net (8.8.8/8.8.7) with ESMTP id LAA22367; Sun, 17 Jan 1999 11:38:29 -0500 (EST) Date: Sun, 17 Jan 1999 11:38:29 -0500 (EST) From: Brian Feldman X-Sender: green@janus.syracuse.net To: Igor Shulgin cc: FreeBSD-current Subject: Re: Running old program on 3.0-RELEASE In-Reply-To: <008301be4235$5988f3c0$870636c3@igorsh.garural.chel.su> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 17 Jan 1999, Igor Shulgin wrote: > Brian Feldman wrote: > >All old /usr/lib files need to be moved to /usr/lib/compat or /usr/lib/aout. > >/usr/lib/compat is the better place because it contains OLD, not current, > libs. > > What about files which already exist in /usr/lib/compat directory with same > name but new date? Move them to /usr/lib/aout (may be to /usr/lib/compat/aout > ?) or simly remove them? libg++.so.3.0 is such case. > > >Hint: do NOT save the archives "libfoo.a", they're for building new static > >executables, and you don't want to replace your much more current ars. Did > you > >even try installing "compat21 compat22 compat1x" etc? > > > Of course. During installation I not checked "compat" but after installation > I run install.sh from compat1x compat21 compat22 directories of 3.0-RELEASE > distribution (in this order). Have order the meaning? Okay, try this: /bin/sh cd /usr/lib for i in *; do if file $i | grep FreeBSD/i386 >/dev/null; then rm $i; fi done After doing that, look in /etc/rc.conf and check if you have an ldconfig_paths_aout. If you don't, set it to something on the order of "/usr/X11R6/lib/aout /usr/local/lib/aout /usr/lib/aout /usr/lib/compat/aout /usr/lib/compat". Then try typing ldconfig -aout /usr/X11R6/lib/aout /usr/local/lib/aout \ /usr/lib/aout /usr/lib/compat/aout /usr /lib/compat You may want to also clean out /usr/local/lib, /usr/X11R6/lib, etc. to make certain no a.out is there. I'd do something like cd /usr/local/lib; mkdir aout for i in *; do if file $i | grep FreeBSD/i386 >/dev/null; then mv $i aout; fi \ done Cheers, > > >> --- With good wishes, > >> Igor Shulgin > >> > > Brian Feldman _ __ ___ ___ ___ > > green@unixhelp.org _ __ ___ | _ ) __| \ > > http://www.freebsd.org/ _ __ ___ ____ | _ \__ \ |) | > > FreeBSD: The Power to Serve! _ __ ___ ____ _____ |___/___/___/ > > > > Brian Feldman _ __ ___ ___ ___ green@unixhelp.org _ __ ___ | _ ) __| \ http://www.freebsd.org/ _ __ ___ ____ | _ \__ \ |) | FreeBSD: The Power to Serve! _ __ ___ ____ _____ |___/___/___/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message