Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Jun 1998 16:31:38 +0800
From:      Peter Wemm <peter@netplex.com.au>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        cvs-committers@FreeBSD.ORG
Subject:   Re: cvs commit: src Makefile 
Message-ID:  <199806130831.QAA25024@spinner.netplex.com.au>
In-Reply-To: Your message of "Sat, 13 Jun 1998 14:45:37 %2B1000." <199806130445.OAA11474@godzilla.zeta.org.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
Bruce Evans wrote:
> >>   Log:
> >>   join(1) is used by lorder, add it to build-tools.  (otherwise, things ge
    t
> >>   ugly when an a.out /usr/bin/join sees the elf LD_LIBRARY_PATH from a
> >>   'make world' and it's a.out ld.so tries to load the elf libc.so.)
> >
> >Does anybody else think that now would be a good time to delete the
> >PATH=/bin:/usr/bin from lorder.sh?
> 
> I don't see any problems other than the obvious one.  If users put `nm',
> etc., in the search path, they should know what they are doing, like they
> should when they put `test' in the search path :-).
> 
> Bruce

There is also a problem with rpcgen calling /usr/libexec/cpp while 
LD_LIBRARY_PATH points to a directory with elf libraries in it.  The 
naming conventions are close enough that the a.out ld.so will mistakenly 
"see" the elf libraries and attempt to load them (and fail).

THere are probably more of these.

I think I can work around the problem in rpcgen's case with the -Y flag.

Cheers,
-Peter



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806130831.QAA25024>