Why does libc.so use absolute path?
Ulrich Drepper
drepper@cygnus.com
Sat Aug 22 23:37:00 GMT 1998
OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp> writes:
> Hello.
>
> I have a question: Why does libc.so in glibc-2.0.7pre5 use absolute
> path instead of relative path? I want to use it both on a native
> i586-gnu environment and on a cross i586-gnu environment, but if
> libc.so is
Relative paths do not work since they would be relative to the current
workign directory. Put a file names libc.so.6 in the current dir and
remove the path from the entry in libc.so. You'll see that nothing
works anymore.
--
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com `------------------------
More information about the Libc-alpha
mailing list