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   _ __  ___ ___ ___
> > gr...@unixhelp.org       _ __ ___ | _ ) __|   \
> >      http://www.freebsd.org/ _ __ ___ ____ | _ \__ \ |) |
> > FreeBSD: The Power to Serve!    _ __ ___ ____ _____ |___/___/___/
> 
> 
> 
> 

 Brian Feldman                                    _ __  ___ ___ ___  
 gr...@unixhelp.org                           _ __ ___ | _ ) __|   \ 
             http://www.freebsd.org/     _ __ ___ ____ | _ \__ \ |) |
 FreeBSD: The Power to Serve!      _ __ ___ ____ _____ |___/___/___/ 


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message

Reply via email to