Subject: Re: library dependency
To: None <tech-pkg@netbsd.org, current-users@netbsd.org>
From: Peter Seebach <seebs@plethora.net>
List: tech-pkg
Date: 06/01/2000 22:31:07
In message <4.3.1.2.20000601222046.00b91160@pop.mail.yahoo.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
>depends on?
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...
-s