Subject: Re: library dependency
To: None <firstname.lastname@example.org, email@example.com>
From: Peter Seebach <firstname.lastname@example.org>
Date: 06/01/2000 22:31:07
In message <email@example.com>, Mocha writes:
>i'm wondering why if a library package (ELF system) depends on another
>dynamic loadable library.. when i link to that library, i also need to
>specify the run time paths to all the other libraries that one library
So the loader can find them.
>for example, libtiff. when i use link to a dynamic loadable libtiff, i need
>to add the -rpaths for the jpeg and the zlib as well. is that normal or am
>i missing something?
It's mostly normal. The issue is, the loader may not know where to look, and,
as I understand it, the executable is the only one that can warn the loader
about paths it needs to look at...