This is the mail archive of the
libc-alpha@cygnus.com
mailing list for the glibc project.
Re: Why does libc.so use absolute path?
- To: OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
- Subject: Re: Why does libc.so use absolute path?
- From: Ulrich Drepper <drepper@cygnus.com>
- Date: 22 Aug 1998 23:36:48 -0700
- Cc: libc-alpha@cygnus.com
- References: <19980823143749Q.okuji@kuicr.kyoto-u.ac.jp>
- Reply-To: drepper@cygnus.com (Ulrich Drepper)
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 `------------------------