This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]