Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jan 1999 11:38:29 -0500 (EST)
From:      Brian Feldman <green@unixhelp.org>
To:        Igor Shulgin <igorsh@garural.chel.su>
Cc:        FreeBSD-current <freebsd-current@FreeBSD.ORG>
Subject:   Re: Running old program on 3.0-RELEASE
Message-ID:  <Pine.BSF.4.05.9901171131001.21986-100000@janus.syracuse.net>
In-Reply-To: <008301be4235$5988f3c0$870636c3@igorsh.garural.chel.su>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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