Subject: Re: ldconfig and ld.aout_so on m68k ELF
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: Frederick Bruckman <fb@enteract.com>
List: port-m68k
Date: 03/19/2001 15:22:08
On Tue, 20 Mar 2001, Izumi Tsutsui wrote:

> In <Pine.NEB.4.33.0103192051550.6938-100000@oor-wullie.mctavish.co.uk>
> steve@mctavish.co.uk wrote:
>
> > I agree that someone should produce a hacked up ld.so which looks for
> > a.out libs in some place other than /usr/lib. Only then can the alternate
> > search path in COMPAT_AOUT_M68K be ditched.
>
> -current ld.aout_so seems to have its support already.
> In ld.aout_so/shlib.c, add_search_dir() has the following lines:
>
> 	search_dirs[n_search_dirs - 1] =
> 	    xmalloc(sizeof(_PATH_EMUL_AOUT) + strlen(name));
> 	strcpy(search_dirs[n_search_dirs - 1], _PATH_EMUL_AOUT);
>
> Or some other special procedure is needed?

Yes, the support was in place for 1.4.3 and 1.5, but you can't build
it with an ELF tool-chain (or you couldn't, try it). That's why
current and 1.5 got 1.4.3-built uuencoded versions.


Frederick