"ldconfig ." issue
Roland McGrath
roland@redhat.com
Tue Jul 22 20:06:00 GMT 2003
> 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.
More information about the Libc-alpha
mailing list