Re: ORBit 0.3.0: --disable-static doesn't work



sopwith@redhat.com (Elliot Lee) writes:
> On 22 Sep 1998 12:05:24 -500, Raja R Harinath <harinath@cs.umn.edu> wrote:
> >Are you sure?  Did you check with ldd?  I though `libtool' took care of
> >that.  Let's see (I compiled without the `-static'):
> 
> I know in older libtools, they used --rpath, which overrides
> $LD_LIBRARY_PATH. I just checked, and it still specifies a --rpath, and
> --rpath still overrides $LD_LIBRARY_PATH, so no go.

Did some web searching and code reading.  Looks like

  * rpath precedes LD_LIBRARY_PATH in GNU Libc and IRIX, 
    and maybe DIGITAL Unix.

  * LD_LIBRARY_PATH precedes rpath in Solaris.  That's why it worked
    for me.

IRIX and DIGITAL seem to have an env var _RLD_ROOT to override rpath.
A quick `grep RLD_ROOT' in `glibc/elf' didn't get any results.

Also, it is `automake' that sets -rpath, not libtool.

- Hari
-- 
Raja R Harinath ------------------------------ harinath@cs.umn.edu
"When all else fails, read the instructions."      -- Cahn's Axiom
"Our policy is, when in doubt, do the right thing."   -- Roy L Ash



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]