Date: Thu, 17 Sep 1998 10:48:20 -0700 (PDT) From: Matthew Dillon <dillon@backplane.com> To: Bruce Evans <bde@zeta.org.au> Cc: committers@FreeBSD.ORG Subject: Re: /usr/lib/compat/aout not being scanned? Message-ID: <199809171748.KAA01837@apollo.backplane.com> References: <199809171710.DAA22240@godzilla.zeta.org.au>
next in thread | previous in thread | raw e-mail | index | archive | help
:> Hmm.. I think there is a bug in /etc/rc in regards to the handling of :> 'aout' subdirectories. It seems to only ldconfig /usr/lib/aout. It :> should probably scan all directories in $ldconfig_paths and load :> $dirname/aout into ldconfig if it exists for each directory. : :You have to put the aout subdirectories in $ldconfig_paths if :you want them. Similarly for $LD_LIBRARY_PATH, the default path :STANDARD_SEARCH_DIRS = "/usr/lib" built into ld and ld.so, and paths It's not a question of what I have to do, it's a question of what thousands of FreeBSD users are going to have to do to upgrade to the new release. The way I see it, we have two choices: Either the upgrade script handles the 'aout' case by adjusting /etc/rc, rc.conf, and/or rc.conf.local, or we hack ldconfig to handle it automatically (by generating both elf and a.out hints files and checking for $dir/aout for each directory). If we force every user to manually update his rc.conf[.local] *AND* their /etc/rc, there are going to be a large number of unhappy users. So, the real question is: What is the ugprade script going to do? If it replaces /etc/rc then checking for aout/ subdirs there solves the problem. If it doesn't, it must either edit rc.conf[.local] (which I think is problematic), or ldconfig must be hacked to handle aout/ subdirs so the old /etc/rc and rc.conf[.local] files work without modification. -Matt Matthew Dillon Engineering, HiWay Technologies, Inc. & BEST Internet Communications & God knows what else. <dillon@backplane.com> (Please include original email in any response)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809171748.KAA01837>