This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: "ldconfig ." issue
- From: Roland McGrath <roland at redhat dot com>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: GNU C Library <libc-alpha at sources dot redhat dot com>
- Date: Tue, 22 Jul 2003 13:00:16 -0700
- Subject: Re: "ldconfig ." issue
> On Tue, Jul 22, 2003 at 12:54:12PM -0700, Roland McGrath wrote:
> > > "ldconfig ." will add '.' to /etc/ld.so.cache. Shouldn't it convert
> > > a relative path to the absolute path first?
> >
> > I don't know why anyone would give it a relative path.
> > It would be reasonable just to refuse anything not starting with /.
>
> When I play with shared libraries, I may do
>
> # ldconfig -n .
>
> to create the right symlinks for me.
Ok, then. In that case the issue you raised is moot. So refuse relative
paths unless -n.