"ldconfig ." issue

H. J. Lu hjl@lucon.org
Tue Jul 22 20:00: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.


H.J.



More information about the Libc-alpha mailing list